fixing more yaml
This commit is contained in:
parent
db66e6e3e0
commit
6996e9c8a5
@ -54,9 +54,13 @@
|
|||||||
path: "./{{ TS_DIR }}"
|
path: "./{{ TS_DIR }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
- name: Set SAML variable
|
||||||
|
set_fact:
|
||||||
|
saml_prefix: "{% if saml_yes == 'yes' %}s{% else %}{% endif %}"
|
||||||
|
|
||||||
- name: Generate the NGINX configuration file
|
- name: Generate the NGINX configuration file
|
||||||
template:
|
template:
|
||||||
src: nginx_template.j2
|
src: nginx_template.j2
|
||||||
dest: "./{{ TS_DIR }}/{{ URL }}.conf"
|
dest: "./{{ TS_DIR }}/{{ URL }}.conf"
|
||||||
vars:
|
vars:
|
||||||
saml_yes: "{{ 's' if saml_yes == 'yes' else '' }}"
|
saml_yes: "{{ saml_prefix }}"
|
||||||
Loading…
Reference in New Issue
Block a user