ANSIBLE.SUPERVISORCTL(3)        ANSIBLE MODULES       ANSIBLE.SUPERVISORCTL(3)



NAME
       supervisorctl - Manage the state of a program or group of programs
       running via Supervisord

DESCRIPTION
       Manage the state of a program or group of programs running via
       Supervisord

OPTIONS
       config configuration file path, passed as -c to supervisorctl(Added in
              Ansible version 1.3.)


       name   The name of the supervisord program/process to manage(required)

       password
              password to use for authentication with server, passed as -p to
              supervisorctl(Added in Ansible version 1.3.)


       server_url
              URL on which supervisord server is listening, passed as -s to
              supervisorctl(Added in Ansible version 1.3.)


       state  The state of service Choices:
              present,started,stopped,restarted.(required)

       supervisorctl_path
              Path to supervisorctl executable to use(Added in Ansible version
              1.4.)


       username
              username to use for authentication with server, passed as -u to
              supervisorctl(Added in Ansible version 1.3.)

EXAMPLES
       # Manage the state of program to be in 'started' state.
       - supervisorctl: name=my_app state=started

       # Restart my_app, reading supervisorctl configuration from a specified file.
       - supervisorctl: name=my_app state=restarted config=/var/opt/my_project/supervisord.conf

       # Restart my_app, connecting to supervisord with credentials and server URL.
       - supervisorctl: name=my_app state=restarted username=test password=testpass server_url=http://localhost:9001




AUTHOR
       Matt Wright

SEE ALSO
       ansible(1), http://ansible.github.com/modules.html#supervisorctl



1.4.5                             2014-02-12          ANSIBLE.SUPERVISORCTL(3)
