2022-06-06 16:22:14 +00:00
|
|
|
---
|
2022-12-10 17:51:03 +00:00
|
|
|
- name: Disable firewalld
|
|
|
|
ansible.builtin.service:
|
2022-06-06 16:22:14 +00:00
|
|
|
name: firewalld
|
|
|
|
state: stopped
|
|
|
|
enabled: false
|
|
|
|
become: true
|
2022-06-20 20:15:20 +00:00
|
|
|
register: service_stop
|
|
|
|
failed_when:
|
2022-10-09 17:43:15 +00:00
|
|
|
# - '"Could not find the requested service" not in service_stop.msg'
|
|
|
|
- service_stop.rc is defined and service_stop.rc != 0
|