workstation-setup/local.yml
2021-12-24 12:05:28 +01:00

26 lines
501 B
YAML

---
- hosts: localhost
connection: local
become: true
tasks:
- name: Basic dev install
package:
name:
- git
- zsh
- name: Set zsh main as shell
become: true
shell: chsh -s /bin/zsh gianm
- name: Install oh my zsh
become_user: gianm
shell: sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
- name: Setup shell env
copy:
src: files/zshrc
dest: ~/.zshrc
owner: gianm
group: gianm