Installing ansible
# Official PPA for Ubuntu
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible
Playbooks meant to only be run locally
or specify hosts: all:
and then invoke ansible with:
ansible-playbook -i 'localhost,' -c local Playbook.ansible.yml