Reload systemd units when restarting service

During upgrades, if the systemd unit is not reloaded, then the
service is restarted with the existing definition which means
that the new service is never started.

Change-Id: I2dd01cffa14eed4c5982dc93395622a00b8ac4c6
This commit is contained in:
Mohammed Naser 2018-05-05 19:05:24 -04:00
parent 622ee6d94e
commit 0ecb81d525

View File

@ -27,4 +27,5 @@
systemd:
name: "{{ barbican_uwsgi_program_name }}"
state: "restarted"
daemon_reload: yes