workstation-setup/local.yml

26 lines
511 B
YAML
Raw Normal View History

2021-12-24 11:17:59 +01:00
---
- hosts: localhost
connection: local
become: true
tasks:
- name: Basic dev install
package:
name:
- git
- zsh
2021-12-24 12:03:11 +01:00
- name: Set zsh main as shell
2021-12-24 12:05:28 +01:00
become: true
2021-12-24 12:15:31 +01:00
shell: chsh -s /bin/zsh gianm
2021-12-24 12:03:11 +01:00
- 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
2021-12-24 12:14:27 +01:00
dest: /home/gianm/.zshrc
2021-12-24 12:03:11 +01:00
owner: gianm
group: gianm