Perform firewalld reload as a handler

This commit is contained in:
Al Bowles 2023-02-27 10:07:27 -06:00 committed by akatch
parent 05fb2aa93b
commit 2c6f93ff8e
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
tags:
- configure
- name: Reload firewalld
ansible.builtin.systemd:
name: firewalld
state: reloaded
tags:
- configure
ignore_errors: "{{ ansible_check_mode }}"
notify: Reload firewalld
- name: Write openQA configuration file
ansible.builtin.template: