From 063a3c1fd7e825bcd9e8ba00163b1655d2af54d8 Mon Sep 17 00:00:00 2001 From: binary Date: Sun, 23 Aug 2020 11:36:48 +0200 Subject: used per os zsh path for binaries --- inventory.ini | 1 + roles/setup_utils/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/inventory.ini b/inventory.ini index 31361e4..4035069 100644 --- a/inventory.ini +++ b/inventory.ini @@ -59,4 +59,5 @@ path_zsh_bin="/bin/zsh" [debian:vars] group_root="root" +path_zsh_bin="/bin/zsh" diff --git a/roles/setup_utils/tasks/main.yml b/roles/setup_utils/tasks/main.yml index 65e810a..acf8248 100644 --- a/roles/setup_utils/tasks/main.yml +++ b/roles/setup_utils/tasks/main.yml @@ -60,5 +60,5 @@ - name: Change shell for all valid users to zsh user: name: "{{ item }}" - shell: /usr/local/bin/zsh + shell: "{{ path_zsh_bin }}" loop: "{{ valid_users_shell.stdout_lines }}" -- cgit v1.2.3