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: package:
name: firewalld name: firewalld
state: latest state: latest
when: ansible_os_family == "RedHat" when: ansible_facts['os_family'] == "RedHat"
- name: Install firewalld on Arch - name: Install firewalld on Arch
community.general.pacman: community.general.pacman:
name: firewalld name: firewalld
state: present state: present
when: ansible_os_family == "Archlinux" when: ansible_facts['os_family'] == "Archlinux"
- name: Start and enable firewalld - name: Start and enable firewalld
service: service:

View File

@@ -2,13 +2,13 @@
package: package:
name: unbound name: unbound
state: latest state: latest
when: ansible_os_family == "RedHat" when: ansible_facts['os_family'] == "RedHat"
- name: Install unbound on Arch - name: Install unbound on Arch
community.general.pacman: community.general.pacman:
name: unbound name: unbound
state: present state: present
when: ansible_os_family == "Archlinux" when: ansible_facts['os_family'] == "Archlinux"
- name: Install unbound.conf - name: Install unbound.conf
template: template: