|
|
|
@ -23,7 +23,6 @@
|
|
|
|
|
- name: Download the {{ item.name }} artifact from {{ maven_baseurl }}
|
|
|
|
|
maven_artifact: artifact_id={{ item.maven_id }} version={{ item.maven_version | default('latest') }} group_id={{ item.maven_group_id }} extension={{ item.maven_extension | default('war') }} repository_url={{ item.maven_repo_url }} dest={{ item.install_dir }}/{{ item.name }}.{{ item.maven_extension | default('war') }} verify_checksum=always mode='0644'
|
|
|
|
|
with_items: '{{ springboot_apps }}'
|
|
|
|
|
register: 'restart_{{ item.name }}'
|
|
|
|
|
when: item.maven_repo_url is defined
|
|
|
|
|
notify: Restart the springboot webservice
|
|
|
|
|
|
|
|
|
@ -40,7 +39,6 @@
|
|
|
|
|
- name: Install the {{ item.name }} configuration starting from the template
|
|
|
|
|
template: src=/var/tmp/.{{ item.app_conf_file }}.j2 dest={{ item.install_dir }}/{{ item.app_conf_file }} owner=root group={{ item.user }} mode=0440
|
|
|
|
|
with_items: '{{ springboot_apps }}'
|
|
|
|
|
register: 'restart_{{ item.name }}'
|
|
|
|
|
when: item.app_conf_file is defined
|
|
|
|
|
notify: Restart the springboot webservice
|
|
|
|
|
|
|
|
|
@ -63,7 +61,6 @@
|
|
|
|
|
- name: Install the {{ item.name }} configuration starting from the template
|
|
|
|
|
template: src=/var/tmp/.{{ item.logback_file }}.j2 dest={{ item.install_dir }}/{{ item.logback_file }} owner=root group={{ item.user }} mode=0440
|
|
|
|
|
with_items: '{{ springboot_apps }}'
|
|
|
|
|
register: 'restart_{{ item.name }}'
|
|
|
|
|
when: item.logback_file is defined
|
|
|
|
|
notify: Restart the springboot webservice
|
|
|
|
|
|
|
|
|
|