diff options
Diffstat (limited to 'roles/workstation/tasks/shell.yml')
-rw-r--r-- | roles/workstation/tasks/shell.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/workstation/tasks/shell.yml b/roles/workstation/tasks/shell.yml index 42b134c..dc11ca4 100644 --- a/roles/workstation/tasks/shell.yml +++ b/roles/workstation/tasks/shell.yml @@ -1,8 +1,8 @@ - name: retrieve zsh path # noqa no-changed-when command-instead-of-shell - shell: command -v zsh + ansible.builtin.shell: command -v zsh register: zsh_path - name: ensure zsh is used for workstation user - user: + ansible.builtin.user: name: "{{ workstation_user }}" shell: "{{ zsh_path.stdout_lines[0] }}" |