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