Started to split tasks into roles
This commit is contained in:
parent
10088f03c7
commit
8e6e03d55c
6 changed files with 125 additions and 91 deletions
13
roles/oh-my-zsh/tasks/main.yaml
Normal file
13
roles/oh-my-zsh/tasks/main.yaml
Normal 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"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue