Merge pull request #20 from spsoit/master
Context parameter safety fixes
This commit is contained in:
commit
418a8b942b
@ -11,4 +11,4 @@ nginx_config:
|
|||||||
- source: salt://nginx/ng/files/nginx.conf
|
- source: salt://nginx/ng/files/nginx.conf
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- context:
|
- context:
|
||||||
config: {{ nginx.server.config }}
|
config: {{ nginx.server.config|json() }}
|
||||||
|
@ -93,7 +93,7 @@ nginx_vhost_available_dir:
|
|||||||
- source: salt://nginx/ng/files/vhost.conf
|
- source: salt://nginx/ng/files/vhost.conf
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- context:
|
- context:
|
||||||
config: {{ settings.config }}
|
config: {{ settings.config|json() }}
|
||||||
{% do vhost_states.append(conf_state_id) %}
|
{% do vhost_states.append(conf_state_id) %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user