
1 min read
Concatenate a complex string in Ansible
Constructing a long, complex string in Ansible can be achieved quite easily utilising Python string subsitution syntax. Suppose you have the following variables: app_protocol…

1 min read
Constructing a long, complex string in Ansible can be achieved quite easily utilising Python string subsitution syntax. Suppose you have the following variables: app_protocol…

1 min read
When working in a dynamic environment you can use the following syntax to query an instance for information about itself. I found this very useful when needing to discover which…

1 min read
Let's say you are in the midst of writing an Ansible playbook and you need to reference multiple values from an 'item' in different places. Here's a neat code snippet that will…

1 min read
Another Ansible top tip. Suppose you are running an installer or other process via Ansible which expects the user to be present accept a license agreement, enter some information…

1 min read
Managing multiple machines sucks. No matter how much you automate there are always going to be edge cases where you'd like to perform the same command on multiple machines…