ansible-machine-setup/roles/oh-my-zsh/tasks/main.yaml

14 lines
337 B
YAML
Raw Normal View History

2020-05-31 10:17:10 +00:00
---
- 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"