avadhutp / ansible-playbooks

Playbooks for setting up home, work, and the RasPI machines.
0 stars 0 forks source link

Testing

Test if a host is reachable via ansible (when running remotely) using the following command: ansible crab -i hosts -m ping --ask-vault-pass

Run a playbook

  1. To run: sudo ansible-playbook -i hosts site.yml --ask-vault-pass
  2. This will ask for the vault password, which is used to decrypt the file that stores all the passwords: MySQL, System, etc.