]> git.phdru.name Git - ansible.git/commitdiff
Fix(playbooks/init-system2): Fix syntax
authorOleg Broytman <phd@phdru.name>
Sun, 6 Mar 2022 17:11:38 +0000 (20:11 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 7 Mar 2022 06:50:29 +0000 (09:50 +0300)
`when:` condition requires `role:`

playbooks/init-system2.yml

index e4449ebda85eebe9f1ceb6f700b66a455e2ec3ee..40e9aefc164d3eb715b5e38ef4b3b24668187428 100644 (file)
@@ -2,9 +2,9 @@
   hosts: "{{ hosts | default('all') }}"
   gather_facts: true
   roles:
-    - debian/firewall
+    - role: debian/firewall
       when: ansible_facts.os_family == 'Debian'
-    - redhat/firewall
+    - role: redhat/firewall
       when: ansible_facts.os_family == 'RedHat'
     - logcheck
     - root