1 playbook that deploys common role + db and webservers role (yes, on same server.. it's just a POC), as part of Ansible session #2 homework assignment
How to run the playbook?
- git clone https://github.com/hila3000/opsschool-ansible-assignment
- cd opsschool-ansible-assignment
- edit the hosts file to include server/s.
- run this command (from the root folder of opsschool-ansible-assignment): ansible-playbook --key-file path_to_your_key_file -i hosts playbooks/db_with_web.yml -e hosts_group=db