【发布时间】:2019-01-19 13:28:42
【问题描述】:
我尝试使用 ansible 禁用 Centos7 上的防火墙。 这有效:
- name: turn off firewall for install
command: systemctl disable firewalld
become: yes
但我必须多次重新运行这个 ansible playbook,每次输出显示“changed”,而我希望这是“ok”?
TASK [turn off firewall for install] *******************************************
changed: [node1]
changed: [node2]
changed: [node3]
我错过了什么或做错了什么? 谢谢
【问题讨论】: