X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Finit-system2.yml;h=40e9aefc164d3eb715b5e38ef4b3b24668187428;hb=f5a5f23954df4505f46e15d1641e2987fe25f85f;hp=947fd6609ef574cca5d2923bf149ed9783e86f88;hpb=f7e665139a974b34b7f0694e3fbe68a92c7d14a5;p=ansible.git diff --git a/playbooks/init-system2.yml b/playbooks/init-system2.yml index 947fd66..40e9aef 100644 --- a/playbooks/init-system2.yml +++ b/playbooks/init-system2.yml @@ -2,7 +2,10 @@ hosts: "{{ hosts | default('all') }}" gather_facts: true roles: - - firewall + - role: debian/firewall + when: ansible_facts.os_family == 'Debian' + - role: redhat/firewall + when: ansible_facts.os_family == 'RedHat' - logcheck - root - setup-usrlocal