Ansible: for each loop
Example of how to do a for each (foreach) loop in a task with a predefined dictionary.
Example for Python
for key, value in dictionary.items(): # do stuff
Ansible - Encrypt and Decrypt files
Ansible provide an easy way to encrypt or decrypt files to keep sensitive data in our playbooks. For example, you can have a template which has some username and password and you can keep encrypted.