Improve compliance report firewalld conditional (#253)

Co-authored-by: Matthew Fernandez <l3acon@users.noreply.github.com>
This commit is contained in:
Chris Edillon
2025-06-25 16:00:29 -04:00
committed by GitHub
parent 0634643f21
commit af7d93fcdb

View File

@@ -52,7 +52,9 @@
state: enabled
immediate: true
permanent: true
when: "'firewalld.service' in ansible_facts.services"
when:
- "'firewalld.service' in ansible_facts.services"
- ansible_facts.services["firewalld.service"].state == "running"
- name: Disable httpd welcome page
ansible.builtin.file: