2022-06-06 16:22:14 +00:00
|
|
|
---
|
|
|
|
- name: disable firewalld
|
2022-06-20 20:15:20 +00:00
|
|
|
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
|