Add a new tag to the authorization role so that we can only install the configuration files.

This commit is contained in:
Andrea Dell'Amico 2017-08-21 15:14:49 +02:00
parent 2f914bcf2d
commit b08a7adce3
1 changed files with 3 additions and 1 deletions

View File

@ -31,10 +31,12 @@
- name: Install the authorization service AuthorizationConfiguration.xml template - name: Install the authorization service AuthorizationConfiguration.xml template
template: src=AuthorizationConfiguration.xml.j2 dest={{ auth_instance_path }}/webapps/authorization-service/{{ authorization_service_config_dest }} mode=0440 template: src=AuthorizationConfiguration.xml.j2 dest={{ auth_instance_path }}/webapps/authorization-service/{{ authorization_service_config_dest }} mode=0440
notify: Restart the authorization service notify: Restart the authorization service
tags: [ 'authorization_service', 'authorization_service_conf', 'tomcat' ]
- name: Install the authorization service persistence.xml template - name: Install the authorization service persistence.xml template
template: src=persistence.xml.j2 dest={{ auth_instance_path }}/webapps/authorization-service/{{ authorization_service_persistence_dest }} mode=0440 template: src=persistence.xml.j2 dest={{ auth_instance_path }}/webapps/authorization-service/{{ authorization_service_persistence_dest }} mode=0440
notify: Restart the authorization service notify: Restart the authorization service
tags: [ 'authorization_service', 'authorization_service_conf', 'tomcat' ]
- name: Install the logback configuration - name: Install the logback configuration
template: src=logback.xml.j2 dest={{ auth_instance_path }}/lib/logback.xml mode=0644 template: src=logback.xml.j2 dest={{ auth_instance_path }}/lib/logback.xml mode=0644
@ -43,4 +45,4 @@
become: True become: True
become_user: '{{ auth_user }}' become_user: '{{ auth_user }}'
when: authorization_service_install when: authorization_service_install
tags: ['authorization_service', 'tomcat' ] tags: [ 'authorization_service', 'tomcat' ]