- name: Install zsh
become: true
apt:
name: zsh
- name: Set default shell to zsh
user:
name: "{{ ansible_user_id }}"
shell: /usr/bin/zsh
- name: Install .zshrc
copy:
src: "{{ role_path }}/files/.zshrc"
dest: ~/.zshrc