Started to split tasks into roles

This commit is contained in:
Michael Mandl 2020-05-31 12:17:10 +02:00
parent 10088f03c7
commit 8e6e03d55c
6 changed files with 125 additions and 91 deletions

View file

@ -0,0 +1,13 @@
---
- name: install required packages
package:
name:
- curl
state: latest
- name: install oh-my-zsh
become_user: "{{ account.name }}"
shell:
cmd: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --keep-zshrc"
creates: "{{ account.home }}/.oh-my-zsh"