mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 02:06:56 -06:00
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
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
owner: "{{ artifactory_user }}"
|
||||
group: "{{ artifactory_group }}"
|
||||
creates: "{{ artifactory_untar_home }}"
|
||||
notify: stop artifactory
|
||||
when: (download_artifactory is succeeded) and (not ansible_check_mode)
|
||||
|
||||
- name: Stop artifactory
|
||||
|
||||
Reference in New Issue
Block a user