]> git.phdru.name Git - ansible.git/blobdiff - playbooks/init-system2.yml
Refactor: Move OS-specific roles under common `roles/`
[ansible.git] / playbooks / init-system2.yml
index 947fd6609ef574cca5d2923bf149ed9783e86f88..e4449ebda85eebe9f1ceb6f700b66a455e2ec3ee 100644 (file)
@@ -2,7 +2,10 @@
   hosts: "{{ hosts | default('all') }}"
   gather_facts: true
   roles:
-    - firewall
+    - debian/firewall
+      when: ansible_facts.os_family == 'Debian'
+    - redhat/firewall
+      when: ansible_facts.os_family == 'RedHat'
     - logcheck
     - root
     - setup-usrlocal