Ansible Pilot

template

Loop in file template - Ansible module template - Generate hosts file
Nov 24, 21
Loop in file template - Ansible module template - Generate hosts file
How to use for loop in Ansible module template to generate/etc/myhosts file with IP address, hostname, and short name from Ansible inventory. Ansible Playbook, Jinja2 template, and with Magic Variables included.
Apply a file template - Ansible module template - HTML placeholder
Nov 23, 21
Apply a file template - Ansible module template - HTML placeholder
How to create and use templates in Ansible Playbooks. An included example is how to deploy an HTML placeholder using the Jinga2 template in your Nginx webserver.
Follow me

Subscribe not to miss any new releases