Use this tag for questions regarding writing and processing Ansible templates, Jinja2 syntax within Ansible, custom filters.
How to find a match using regex in ansible playbook where variable appears in the regex_search argument? The following …
regex ansible ansible-templateI have the following vars inside of my ansible playbook I got the following structure domains: - { main: 'local1.com', …
ansible jinja2 ansible-2.x ansible-templateMy playbook: - name: JBoss KeyStore and Truststore passwords will be stored in the password vault #shell: less "{{ vault }}" shell: …
ansible ansible-2.x ansible-facts ansible-templateI believe the Ansible copy module can take a whole bunch of "files" and copy them in one hit. This …
ansible ansible-2.x ansible-templateI have the following task: - name: copy server.xml template: src=server.xml dest=/var/containers/{{ item.key }}/conf …
ansible ansible-templateI have an Ansible playbook that sets a lot of variables. One the playbooks has this task: - name: create …
ansible jinja2 ansible-templateI want to have a simple if else condition in ansibles jinja templates. For plain python cluster_name+'A' if …
python ansible jinja2 ansible-2.x ansible-templateI'm writing an Ansible template that needs to produce a list of ip's in a host group, excluding the current …
ansible jinja2 ansible-templateI'm generating a Behat config file using Ansible. This configuration file is a YAML file. I'm using a Jinja2 template …
yaml ansible ansible-templateI'm trying to populate nsswitch.conf with values that are determined from a list. The list is of string: openldap_…
ansible jinja2 ansible-template