12 lines
305 B
YAML
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
|