Playbooks for orchestrating Ubuntu servers, based on the DebOps framework.
You need to install the DebOps framework first:
pip2 install debopsAfter that you can clone this repo and fill out the ansible/inventory/hosts file.
git clone git@github.com:gabor-udvari/automation-project.git
cd automation-project
mkdir ansible/inventory
touch hostsExample hosts file:
[debops_all_hosts]
server1 ansible_connection=local
server2
[debops_service_nginx]
server2You can use the debops command to launch the ansible playbooks. You can run specific playbooks or limit the run with tags:
debops playbooks/upgrade.yml
debops --tags 'role::nginx'
debops --limit server2