supervisorctl
Collection: community.general
Full Name: parallax.community.general.supervisorctl
Aliases: community.general.supervisorctl, supervisorctl
Synopsis
Manage supervisorctl
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | yes | The name of the supervisord program or group to manage | |
| state | string | yes | The desired state of the program (started, stopped, restarted, present, absent) | |
| config | string | Path to the supervisord configuration file | ||
| server_url | string | URL on which supervisord is listening | ||
| username | string | Username for authenticating with the supervisor server | ||
| password | string | Password for authenticating with the supervisor server | ||
| signal | string | Signal to send to the process when using the signalled state |
Example
- name: Example supervisorctl task
supervisorctl:
name: <your_name>
state: <your_state>