Size: 928
Comment:
|
Size: 1112
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 45: | Line 45: |
== Async/parallelizing tasks == See http://toroid.org/ansible-parallel-dispatch and https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html, needs more research. |
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
Async/parallelizing tasks
See http://toroid.org/ansible-parallel-dispatch and https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html, needs more research.