Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 505 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 505 Bytes

2017 Q3 Unix/Linux 110 A/B Ansible demo

Copy these files into your /etc/ansible directory and:

  • install roles from requirements.txt file sudo ansible-galaxy install -r requirements.yml

  • install sshpass program sudo apt-get install sshpass

  • Add your localhost SSH key fingerprint to your known_hosts file ssh localhost hostname (and yes accept fingerprint)

  • apply the ansible role (using passworded ssh, and sudo) ansible-playbook mysql_playbook.yml -u <username> -s -k -K