labpositiva.supervisor

Ansible Role Supervisor

GitHub tag Build Status GitHub issues GitHub license

Installs and configures supervisor on a host.

Requirements

  • Linux
    • none
  • OSX

Role Variables

The default role variables in defaults/main.yml are:

---
# defaults file for supervisor
supervisor_apps:
  - program: name
    application_path: /home/user/project/src
    application_environment: {{ deployment_file_load_virtualenvwrapper }}
    execution: celery -A {{ app_name }} worker --loglevel=info

supervisor_programs:
  - program: name
    command: 'command'
    user: "user"
    directory: "directory"
    numprocs: 1
    instalautostart: true
    autorestart: true
    startsecs: 10
    priority: 990
    disabled_program: name program to disabled

Dependencies

none

Example Playbook

See the examples directory.

To run this playbook with default settings, create a basic playbook like this:

- hosts: servers
  roles:
     - supervisor

To install a specific version:

- hosts: servers
  roles:
     - { role: labpositiva.supervisor }

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

Made with :heart: ️:coffee:️ and :pizza: by labpositiva.

About

Ansible role to install supervisor

Install
ansible-galaxy install labpositiva.supervisor
GitHub repository
License
mit
Downloads
2.2k