- Read how to use the Ansible provisioner in README.md of each role.
- To know more about Ansible: http://www.ansible.com
Install the role dependencies using Ansible Galaxy
ansible-galaxy install -r roles/requirements.yml
List tasks and hosts before provision:
ansible-playbook -i inventories/local playbooks.yml --list-tasks --list-hosts
Provision:
./build.sh
In order to use your own custom settings, use the "custom.yml" file, you can overide any varible used in the playbooks and roles.
ansible-playbook -i inventories/local playbooks.yml --extra-vars "@custom.yml"
By default the custom.yml file is ignored in git, be mindful to not add to version control your custom files or info.
See the inventories
folders to know the available inventories
Use the "inventories/custom" to place your custom inventory.
- You can use Vagrant to set up and provision a VM in order to run tests.
- To know more about Vagrant: http://www.vagrantup.com And Vagrant with Ansible: http://docs.vagrantup.com/v2/provisioning/ansible.html
tests/vagrant.sh
tests/docker.sh
- Upgrade to Ubuntu Xenial 16.04.