remove deprecated syntax

This commit is contained in:
2026-01-14 21:00:05 -07:00
parent 9b6589c91b
commit 50bbc94af9
2 changed files with 4 additions and 4 deletions

View File

@@ -13,13 +13,13 @@
package:
name: firewalld
state: latest
when: ansible_os_family == "RedHat"
when: ansible_facts['os_family'] == "RedHat"
- name: Install firewalld on Arch
community.general.pacman:
name: firewalld
state: present
when: ansible_os_family == "Archlinux"
when: ansible_facts['os_family'] == "Archlinux"
- name: Start and enable firewalld
service: