aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-08-23 11:36:48 +0200
committerbinary <me@rgoncalves.se>2020-08-23 11:36:48 +0200
commit063a3c1fd7e825bcd9e8ba00163b1655d2af54d8 (patch)
tree53d2fc85b6875a18012f49304d3e0db44a0b9ae7
parente68c01c32dd7a7e3da098eccfb04a54e52524c46 (diff)
downloadinfrastructure-063a3c1fd7e825bcd9e8ba00163b1655d2af54d8.tar.gz
used per os zsh path for binaries
-rw-r--r--inventory.ini1
-rw-r--r--roles/setup_utils/tasks/main.yml2
2 files changed, 2 insertions, 1 deletions
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 }}"
remember that computers suck.