forked from ISTI-ansible-roles/ansible-roles
Fix some naming.
This commit is contained in:
parent
55471f7021
commit
0a9281e047
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- block:
|
- block:
|
||||||
- name: Remove the old grsf-publisher-ws files
|
- name: Remove the old grsf-services-updater files
|
||||||
file: path={{ item }} state=absent
|
file: path={{ item }} state=absent
|
||||||
with_items:
|
with_items:
|
||||||
- '{{ smartgears_instance_path }}/webapps/{{ grsf_services_updater_name }}'
|
- '{{ smartgears_instance_path }}/webapps/{{ grsf_services_updater_name }}'
|
||||||
|
@ -13,14 +13,14 @@
|
||||||
when: not grsf_services_updater_install
|
when: not grsf_services_updater_install
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Get the grsf-publisher-ws war
|
- name: Get the grsf-services-updater war
|
||||||
maven_artifact: artifact_id={{ grsf_services_updater_name }} version={{ grsf_services_updater_version | default(omit) }} group_id={{ grsf_services_updater_group_id }} extension={{ grsf_services_updater_extension | default('war') }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_downloads_dir }}/{{ grsf_services_updater_file }}
|
maven_artifact: artifact_id={{ grsf_services_updater_name }} version={{ grsf_services_updater_version | default(omit) }} group_id={{ grsf_services_updater_group_id }} extension={{ grsf_services_updater_extension | default('war') }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_downloads_dir }}/{{ grsf_services_updater_file }}
|
||||||
register: grsf_publisher_download
|
register: grsf_updater_download
|
||||||
|
|
||||||
- name: Remove the old grsf-publisher-ws files
|
- name: Remove the old grsf-services-updater files
|
||||||
file: path={{ smartgears_instance_path }}/webapps/{{ grsf_services_updater_name }} state=absent
|
file: path={{ smartgears_instance_path }}/webapps/{{ grsf_services_updater_name }} state=absent
|
||||||
notify: Restart smartgears
|
notify: Restart smartgears
|
||||||
when: ( grsf_publisher_download | changed )
|
when: grsf_updater_download is changed
|
||||||
|
|
||||||
- name: Copy the GRSF publisher under the webapps directory
|
- name: Copy the GRSF publisher under the webapps directory
|
||||||
copy: src={{ smartgears_downloads_dir }}/{{ grsf_services_updater_file }} dest={{ smartgears_instance_path }}/webapps/{{ grsf_services_updater_name }}.{{ grsf_services_updater_extension }} remote_src=yes force=yes
|
copy: src={{ smartgears_downloads_dir }}/{{ grsf_services_updater_file }} dest={{ smartgears_instance_path }}/webapps/{{ grsf_services_updater_name }}.{{ grsf_services_updater_extension }} remote_src=yes force=yes
|
||||||
|
|
Loading…
Reference in New Issue