system/tasks/firewalld.yml
vincent 9585a9cb2b
Some checks failed
continuous-integration/drone/push Build is failing
manage case firewalld not present
2022-06-20 22:15:20 +02:00

12 lines
253 B
YAML

---
- name: disable firewalld
service:
name: firewalld
state: stopped
enabled: false
become: true
register: service_stop
failed_when:
- '"Could not find the requested service" not in service_stop.msg'
- service_stop.rc != 0