Archive of posts from May 2023
-
Nov 3, 2019
Solution: Changing yaml files in ansible git repo with python
i wanted tooling to make changes to an ansible git repository but found this not as straightforward as i had hoped. this solution takes care of the annoying problem of loading yaml and python writing it back out of its original order and so making the git commits hard to...
-
Oct 29, 2019
Building docker images with ansible
process to build docker image from ansible playbook. this involves creating a base image with ansible installed. with this we add the ansible repo and then configure the host with ansible playbook and tag it.
-
Sep 17, 2019
setting ansible facts from json
ansible tasks to record json output and set some value to an ansible fact.