supervisorctl

Collection: community.general

Full Name: parallax.community.general.supervisorctl

Aliases: community.general.supervisorctl, supervisorctl

Synopsis

Control programs managed by supervisord

Parameters

NameTypeRequiredDefaultDescription
namestringyesThe name of the supervisord program or group to manage
statestringyesThe desired state of the program (started, stopped, restarted, present, absent)
configstringPath to the supervisord configuration file
server_urlstringURL on which supervisord is listening
usernamestringUsername for authenticating with the supervisor server
passwordstringPassword for authenticating with the supervisor server
signalstringSignal to send to the process when using the signalled state

Example

- name: Restart the worker process group
  supervisorctl:
    name: "workers:*"
    state: restarted