In order to properly run this, you need to install ansible:
With package manager:
sudo apt-get install ansible
With pip:
pip install ansible
You will also need sshpass:
sudo apt-get install sshpass
- Generate public and private keys and place them in the
keys/
folder - Add a password in the
keys/pass.txt
file. - Modify inventory file with hosts and default username/password
- Run the playbook:
ansible-playbook <playbook> -i inventory.ini