mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 08:06:57 -06:00
[Ansible/Artifactory] -Upgrade play to stop artifactory service (#256)
* Ansible/Artifactory - Upgrade play to stop service When running the upgrade play the stop artifactory is never notified. So running flush_handlers never actually gets hit. Add notify to unarchive task, with the idea being if you're unarchiving a new version this means that host will be taking an update. zachary.wayer@garmin.com * Ansible/Artifactory - Fix notify Indention Moving the notify clause to be even with the when statment.
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
owner: "{{ artifactory_user }}"
|
owner: "{{ artifactory_user }}"
|
||||||
group: "{{ artifactory_group }}"
|
group: "{{ artifactory_group }}"
|
||||||
creates: "{{ artifactory_untar_home }}"
|
creates: "{{ artifactory_untar_home }}"
|
||||||
|
notify: stop artifactory
|
||||||
when: (download_artifactory is succeeded) and (not ansible_check_mode)
|
when: (download_artifactory is succeeded) and (not ansible_check_mode)
|
||||||
|
|
||||||
- name: Stop artifactory
|
- name: Stop artifactory
|
||||||
|
|||||||
Reference in New Issue
Block a user