August 2015
Intermediate to advanced
168 pages
3h 32m
English
You learned about conditional controls in the previous chapter. Our journey into Ansible's world of control structures continues with iterative controls. Often, we need to create a list of directories, install a bunch of packages, or define and walk over nested hashes or dictionaries. Traditional programming languages use the for or while loops for iteration. Ansible replaces them with the with statements.
In this chapter, we are going to learn about:
with statementsIterating plain lists, parsing dictionaries, ...
Read now
Unlock full access