ansible-ipa-management/handlers/main.yml
2023-04-22 00:58:06 -07:00

23 lines
429 B
YAML

---
# Handlers
- name: reload_networkmanager
ansible.builtin.service:
name: NetworkManager
state: reloaded
- name: restart_named
ansible.builtin.service:
name: named
state: restarted
- name: enable_firewalld
ansible.builtin.service:
name: firewalld
state: started
enabled: true
- name: enable_crb
ansible.builtin.shell: "set -o pipefail && /usr/bin/crb enable"
changed_when: "1 != 1"
...