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:
|
|
|
|
- '"Could not find the requested service" not in service_stop.msg'
|
|
|
|
- service_stop.rc != 0
|