From d607fd2bbd87b5c485a2da961bd03a0d1ae2edcd Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 2 Dec 2020 18:45:55 +0100 Subject: Make tasks more dependant with ansible_facts --- roles/common/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/common/tasks') diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 2f2074a..69b1f56 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -18,7 +18,7 @@ group: "{{ group_root }}" state: directory mode: 0755 - when: os_type == "linux" + when: ansible_system == "Linux" - name: copy zsh configuration file copy: -- cgit v1.2.3