Use this tag for questions regarding writing and processing Ansible templates, Jinja2 syntax within Ansible, custom filters.
I'm not able to do a very simple thing. In my task I'm trying to concat two default variables with …
ansible yaml jinja2 ansible-templateI merged two lists from an Ansible inventory: set_fact: fact1: "{{ groups['group1'] + groups[group2']|list }} The output …
ansible jinja2 ansible-templateMy Ansible Playbook: #Tag --> B.6 --> - name: Change the Security Realm to CustomRealm from ManagementRealm command: /…
ansible ansible-2.x ansible-facts ansible-templateI am using a simple template with only variables in it. This is how my task looks like in my …
ansible jinja2 ansible-templateMost of my locations have 4+ DNS sources, but a few have less. Each location gets their own dns4_ips list …
ansible jinja2 ansible-template