diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-04 14:01:47 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-05 09:33:30 +0000 |
commit | 5c2e3443bedf0ef6a34888ea30361af7da314748 (patch) | |
tree | e792d59b44ef63981ccddbe39256a5f859df1f79 /roles/workstation/tasks/shell.yml | |
parent | edf06330b130c6499cf5166d63a3d106555df513 (diff) | |
download | rules-5c2e3443bedf0ef6a34888ea30361af7da314748.tar.gz |
roles: Add workstation role
Diffstat (limited to 'roles/workstation/tasks/shell.yml')
-rw-r--r-- | roles/workstation/tasks/shell.yml | 8 |
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] }}" |