remove deprecated syntax
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user