From c5ce8b554c445b91f46e13aadec5ff1c8bb2360c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 6 Mar 2022 20:11:38 +0300 Subject: [PATCH] Fix(playbooks/init-system2): Fix syntax `when:` condition requires `role:` --- playbooks/init-system2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/init-system2.yml b/playbooks/init-system2.yml index e4449eb..40e9aef 100644 --- a/playbooks/init-system2.yml +++ b/playbooks/init-system2.yml @@ -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 -- 2.39.2