dotfiles/tasks/shell.yml

38 lines
697 B
YAML
Raw Normal View History

2018-09-10 20:08:35 +01:00
- template:
src: ./files/zshrc/.zshrc
2018-09-17 17:22:15 +01:00
dest: "{{ home }}/.zshrc"
2018-09-10 20:08:35 +01:00
mode: 0644
2018-09-17 17:22:15 +01:00
owner: "{{ user }}"
2018-09-14 09:00:06 +01:00
validate: "zsh -n %s"
2018-09-18 13:19:31 +01:00
backup: true
trim_blocks: false
2018-09-10 20:08:35 +01:00
- copy:
src: /usr/share/nvm/init-nvm.sh
2018-09-17 17:22:15 +01:00
dest: "{{ home }}/.nvm/nvm.sh"
2018-09-10 20:08:35 +01:00
mode: 0755
2018-09-17 17:22:15 +01:00
owner: "{{ user }}"
2018-09-10 20:08:35 +01:00
group: users
- copy:
src: ./files/bin
2018-09-17 17:22:15 +01:00
dest: "{{ home }}/.bin"
2018-09-10 20:08:35 +01:00
mode: 0755
2018-09-17 17:22:15 +01:00
owner: "{{ user }}"
2018-09-10 20:08:35 +01:00
group: users
directory_mode: true
- copy:
src: ./files/global-environment
dest: /etc/environment
mode: 0644
owner: root
group: root
- copy:
src: ./files/tmux.conf
2018-09-17 17:22:15 +01:00
dest: "{{ home }}/.tmux.conf"
2018-09-10 20:08:35 +01:00
mode: 0755
2018-09-17 17:22:15 +01:00
owner: "{{ user }}"
2018-09-10 20:08:35 +01:00
group: users