forked from ISTI-ansible-roles/ansible-roles
Fix a wrong variable.
This commit is contained in:
parent
acf5253447
commit
661ecfb79b
|
@ -1,13 +1,13 @@
|
||||||
---
|
---
|
||||||
- name: Install the gcube-app file to make the webapp smartgears compatible
|
- name: Install the gcube-app file to make the webapp smartgears compatible
|
||||||
template: src=gcube-app.xml.j2 dest={{ item.webapp_path | default('/home/gcube/tomcat') }}/webapps/{{ item.context }}/WEB-INF/gcube-app.xml owner={{ smartgears_user }} group={{ smartgears_user }}
|
template: src=gcube-app.xml.j2 dest={{ item.webapp_path | default('/home/gcube/tomcat') }}/webapps/{{ item.webapp_context }}/WEB-INF/gcube-app.xml owner={{ smartgears_user }} group={{ smartgears_user }}
|
||||||
with_items: '{{ gcubeapp_webapps | default([]) }}'
|
with_items: '{{ gcubeapp_webapps | default([]) }}'
|
||||||
notify: Restart smartgears
|
notify: Restart smartgears
|
||||||
when: gcubeapp_setup
|
when: gcubeapp_setup
|
||||||
tags: [ 'smartgears', 'gcubeapp' ]
|
tags: [ 'smartgears', 'gcubeapp' ]
|
||||||
|
|
||||||
- name: Install the gcube-handlers.xml file to manage the smartgears filters
|
- name: Install the gcube-handlers.xml file to manage the smartgears filters
|
||||||
template: src=gcube-handlers.xml.j2 dest={{ item.webapp_path | default('/home/gcube/tomcat') }}/webapps/{{ item.context }}/WEB-INF/gcube-handlers.xml owner={{ smartgears_user }} group={{ smartgears_user }}
|
template: src=gcube-handlers.xml.j2 dest={{ item.webapp_path | default('/home/gcube/tomcat') }}/webapps/{{ item.webapp_context }}/WEB-INF/gcube-handlers.xml owner={{ smartgears_user }} group={{ smartgears_user }}
|
||||||
with_items: '{{ gcubeapp_webapps | default([]) }}'
|
with_items: '{{ gcubeapp_webapps | default([]) }}'
|
||||||
notify: Restart smartgears
|
notify: Restart smartgears
|
||||||
when: gcubehandlers_setup
|
when: gcubehandlers_setup
|
||||||
|
|
Loading…
Reference in New Issue