Skip to content
Snippets Groups Projects
Commit f68247d2 authored by jurgenhaas's avatar jurgenhaas
Browse files

Sanitize jinja2 variables

parent 8c90ec7e
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@
delegate_to: "{{hostvars[item.1]['ophinex_cadmin_host']}}"
with_nested:
- ['setup_cadmin.sh', 'setup_cadmin.sql']
- '{{ groups["webserver-ophinex"] }}'
- '{{ groups["webserver-ophinex"]|default([]) }}'
when: not hostvars[item.1]['ophinex_qa_mode']
- name: "Execute basic setup on all CAdmins"
......@@ -142,7 +142,7 @@
delegate_to: "{{hostvars[item.1]['ophinex_cadmin_host']}}"
with_nested:
- ['setup_cadmin.sh']
- '{{ groups["webserver-ophinex"] }}'
- '{{ groups["webserver-ophinex"]|default([]) }}'
when: not hostvars[item.1]['ophinex_qa_mode']
- name: "Create files directory for each ophinex instance"
......@@ -153,5 +153,5 @@
mode: '777'
state: 'directory'
delegate_to: "{{item}}"
with_items: '{{ groups["webserver-ophinex"] }}'
with_items: '{{ groups["webserver-ophinex"]|default([]) }}'
when: not hostvars[item]['ophinex_qa_mode']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment