aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/shell.yml
blob: dc11ca4c0d1363aaf12bba731e3b8eb51a290744 (plain) (blame)
1
2
3
4
5
6
7
8
- name: retrieve zsh path  # noqa no-changed-when command-instead-of-shell
  ansible.builtin.shell: command -v zsh
  register: zsh_path

- name: ensure zsh is used for workstation user
  ansible.builtin.user:
    name: "{{ workstation_user }}"
    shell: "{{ zsh_path.stdout_lines[0] }}"
remember that computers suck.