system/tasks/firewalld.yml
vincent 1419eaa003
All checks were successful
continuous-integration/drone/push Build is passing
style: correct ansible lint
2022-12-10 20:25:54 +01:00

12 lines
305 B
YAML

---
- name: Disable firewalld
ansible.builtin.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 is defined and service_stop.rc != 0