ansible实践3-playbook条件判断

--- - hosts: testhost   user: root   gather_facts: True   tasks:     - name: use when       shell: touch /tmp/when.txt       when: facter_ipaddress == "172.7.15.106"   Ansible playbook中的handlers 执行tas
相关文章
相关标签/搜索