The reload supervisor handler affects all the supervisor processes that are running on the system.
|
- name: reload supervisor |
|
command: supervisorctl reload |
This could cause unwanted downtime for other supervisor processes running on the system. We shall update this handler to only restart the affected supervisor process. The supervisor process name can be deduced as follows:
openwisp-flask-vpn-updater-{{ openwisp2_wireguard_vpn_uuid }}
We have done similar change in ansible-openwisp2 in this PR openwisp/ansible-openwisp2#392
The
reload supervisorhandler affects all the supervisor processes that are running on the system.ansible-wireguard-openwisp/handlers/main.yml
Lines 3 to 4 in b34b5f4
This could cause unwanted downtime for other supervisor processes running on the system. We shall update this handler to only restart the affected supervisor process. The supervisor process name can be deduced as follows:
We have done similar change in ansible-openwisp2 in this PR openwisp/ansible-openwisp2#392