Perform firewalld reload as a handler

This commit is contained in:
Al Bowles 2023-02-27 10:07:27 -06:00
parent 6152baa8ae
commit fd960f900f
No known key found for this signature in database
GPG Key ID: 9B42314A30F1A3D1
2 changed files with 6 additions and 9 deletions

View File

@ -1,2 +1,6 @@
--- ---
# Handlers - name: Reload firewalld
ansible.builtin.systemd:
name: firewalld
state: reloaded
ignore_errors: "{{ ansible_check_mode }}"

View File

@ -30,14 +30,7 @@
- openqa-vnc - openqa-vnc
tags: tags:
- configure - configure
notify: Reload firewalld
- name: Reload firewalld
ansible.builtin.systemd:
name: firewalld
state: reloaded
tags:
- configure
ignore_errors: "{{ ansible_check_mode }}"
- name: Write openQA configuration file - name: Write openQA configuration file
ansible.builtin.template: ansible.builtin.template: