
$ cd ~/digital_ocean/ansible_collections/digital_ocean

$ mkdir -p ~/digital_ocean/ansible_collections/digital_ocean The following commands will set up the environment: You will also need to clone the DigitalOcean Ansible Content Collection. If you would like to follow along, you will need to have Ansible 2.9 or later installed.
Finale inventory api github how to#
With the "why integration tests" behind us, we can focus our attention on how to write them. The second point is especially crucial in the Ansible world, where one team of developers is usually responsible for the upstream product, and a separate group maintains Ansible content.

But unfortunately, this is not how things work in real life. If we were able to write perfect code all of the time, there would be no need for tests. But not for long we will be adding an integration test for the droplet module.

What we ended up with was a fully functioning Ansible Content Collection that unfortunately had no tests. In the previous installment of our "let us create the best Ansible Content Collection ever" saga, we covered the DigitalOcean-related content migration process.
