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

Sanitize jinja2 variables

parent 90fc5769
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
owner='root'
group='root'
mode='644'
with_items: '{{ groups.webserver }}'
with_items: '{{ groups.webserver|default([]) }}'
notify: "Check HAProxy Config"
- name: "Create host ssl lists"
......@@ -31,7 +31,7 @@
owner='root'
group='root'
mode='644'
with_items: '{{ groups.webserver }}'
with_items: '{{ groups.webserver|default([]) }}'
notify: "Check HAProxy Config"
- name: "Create host path lists"
......@@ -41,7 +41,7 @@
group='root'
mode='644'
state='touch'
with_items: '{{ groups.webserver }}'
with_items: '{{ groups.webserver|default([]) }}'
changed_when: false
- name: "Create use bigpipe host lists"
......@@ -69,7 +69,7 @@
group='root'
mode='644'
state='touch'
with_items: '{{ groups.webserver }}'
with_items: '{{ groups.webserver|default([]) }}'
changed_when: false
- name: "Update blacklists"
......
......@@ -3,7 +3,7 @@
- name: "Find out active proxy"
set_fact: proxy_active_host={{ item }}
with_items: '{{ groups.proxyserver }}'
with_items: '{{ groups.proxyserver|default([]) }}'
when: hostvars[item].proxy_active|default(true)
- name: "Set directory permissions to current user"
......
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