aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.