12 lines
289 B
YAML
12 lines
289 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 is defined and service_stop.rc != 0
|