An introduction on using vagrant, Jenkins, and docker to test the idempotency of Ansible playbooks.
You must have ansible installed on your system.
You must then install the Jenkins ansible-galaxy role:
ansible-galaxy install geerlingguy.jenkins
- Clone this repository
git clone https://github.com/tylerturk/jenkins_ansible_idempotent_test_vagrant.git
- cd in to the repository directory
cd jenkins_ansible_idempotent_test_vagrant
- Bring your vagrant online
vagrant up
- Navigate to your local jenkins on your computer
- Profit?!?!?!
- Tweet about how awesome testing ansible is.
- Thank @geerlingguy for writing the Jenkins ansible-galaxy role