blob: 66191e579618450d1c5e3bac0420e5325da36b37 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
---
- name: install zsh
ansible.builtin.package:
name: zsh
state: present
- name: retrieve zsh path # noqa no-changed-when command-instead-of-shell
ansible.builtin.shell: command -v zsh
register: shell_zsh_path
- name: ensure zsh is used for workstation user
ansible.builtin.user:
name: "{{ shell_workstation_user }}"
shell: "{{ shell_zsh_path.stdout_lines[0] }}"
|