Using Ansible “when” statements allows you to set parameters for when a task should play out. I’ve put together some examples.
Using Ansible “when” Statements
Posted on
The enterprise in your closet
Using Ansible “when” statements allows you to set parameters for when a task should play out. I’ve put together some examples.
I didn’t get a ton of work done int he lab this week, but I did write about using subelements with Ansible. Also spent some time working with Graylog and Hashcorp Vault earlier in the week. I should be able to put a Graylog Ansible role up in the near future. Vault looks like it’s a little bit of a bigger project, but the structure is really interesting.