aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/shell.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/workstation/tasks/shell.yml')
-rw-r--r--roles/workstation/tasks/shell.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/workstation/tasks/shell.yml b/roles/workstation/tasks/shell.yml
new file mode 100644
index 0000000..42b134c
--- /dev/null
+++ b/roles/workstation/tasks/shell.yml
@@ -0,0 +1,8 @@
+- name: retrieve zsh path # noqa no-changed-when command-instead-of-shell
+ shell: command -v zsh
+ register: zsh_path
+
+- name: ensure zsh is used for workstation user
+ user:
+ name: "{{ workstation_user }}"
+ shell: "{{ zsh_path.stdout_lines[0] }}"
remember that computers suck.