Reflinks for XFS are available in Fedora 27, so you no longer need to pull and compile `xfsprogs` from git.
So the Ansible virt module doesn’t have a clone option and the creation of guests is a little limited. Because of this we have to use the shell or command modules and try to make them idempotent. This is a simple example and the dictionary can be expanded to a lot more customization. There is […]
Infrastructure testing provides some challenges just because of the mere fact you are building machines and not just compiling code. To test Ansible, I used to run Ansible with –syntax-check and –list-tasks. For roles I would run local tests with Vagrant using the tests/ directory in the role. The tests had Ansible test itself with […]
Red Hat releases Tower source as AWX.
Using QEMU guest agent to get a guest IP.
Using an Ansible module to create a random root password.
Using variables in Ansible to minimize the need for conditionals.