An ansible role that install oh-my-zsh
- Installs oh-my-zsh, A community-driven framework for managing your zsh configuration.
- zsh shell.
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible
- hosts: all
roles:
- ansible-ohmyzsh
###1 clone this repo
git clone https://github.com/veggiemonk/ansible-ohmyzsh
###2 put the playbook at the same level at the repository you just cloned
###3 run playbook
ansible-playbook --inventory 'localhost,' -a -u LOCAL_USERNAME playbook.yml
Make sur you can connect to localhost by ssh.
- veggiemonk Based on the work of:
- Luke Macken (@lmacken)
- Adam Brett for the best and only ansible tutorial you will ever need to get started: link