16 lines
338 B
YAML
16 lines
338 B
YAML
- name: Install zsh
|
|
become: true
|
|
apt:
|
|
state: latest
|
|
update_cache: yes
|
|
cache_valid_time: 86400 # One day
|
|
name: zsh
|
|
- name: Set default shell to zsh
|
|
become: true
|
|
user:
|
|
name: "{{ ansible_user_id }}"
|
|
shell: /usr/bin/zsh
|
|
- name: Install .zshrc
|
|
copy:
|
|
src: "{{ role_path }}/files/.zshrc"
|
|
dest: ~/.zshrc
|