remove deprecated syntax
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
package:
|
||||
name: unbound
|
||||
state: latest
|
||||
when: ansible_os_family == "RedHat"
|
||||
when: ansible_facts['os_family'] == "RedHat"
|
||||
|
||||
- name: Install unbound on Arch
|
||||
community.general.pacman:
|
||||
name: unbound
|
||||
state: present
|
||||
when: ansible_os_family == "Archlinux"
|
||||
when: ansible_facts['os_family'] == "Archlinux"
|
||||
|
||||
- name: Install unbound.conf
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user