Recent posts

Interpreted, Bytecode & Just-in-Time

June 02, 2017 | 4 minute read

In my previous post I discussed what a compiler does. In this post I will cover Interpreted code, Bytecode and Just-in-Time compilation. One thing to note at this point is that while a compiler is able to create a standalone executable application (e.g an .exe file in Windows) which does not depend on any other application in order to run, the s...

Understanding Ansible Output Structure

May 21, 2017 | 10 minute read

Note that this post uses NTC-Ansible. Installation instructions can be found here. In the Ansible –extra-vars post we saw just how out of control outputs can be. The Cleaning Up Ansible Loop Outputs post then demonstrated how we can remove all of the unnecessary information. This post is aimed at answering the question, “How do we navigate thr...

Looping through Dictionaries in Ansible

May 21, 2017 | 3 minute read

Note that this post uses NTC-Ansible. Installation instructions can be found here. In the Understanding Ansible Output Structure post we saw how to extract a single entry out of a dictionary. We saw that it’s possible to do it using the map() filter too. However, what if we want to extract all entries in the dictionary, how would we go about th...

Cleaning Up Ansible Loop Outputs

May 20, 2017 | 3 minute read

Note that this post uses NTC-Ansible. Installation instructions can be found here. As we saw in the –extra-vars post, the first Playbook produces a very clean, succinct output. However, after making a minor alteration to the Playbook (I added a single loop and one additional show command), the output went from just 43 lines to over 260 lines! ...

Ansible –extra-vars

May 20, 2017 | 7 minute read

Note that this post uses NTC-Ansible. Installation instructions can be found here. Often you will see variables defined in a Playbook, a Task and/or a variables file such as group_vars or host_vars, as shown below: Variables in a Playbook: - hosts: localhost connection: local gather_facts: no vars: provider: username: cisco ...