Skip to content

plumelo/ansible-role-cabot

 
 

Repository files navigation

ansible-cabot

Build Status Galaxy

An Ansible role to deploy Cabot using the Python packages.

Usage

Role Variables

# The cabot version
cabot_version: '0.11.8'

# The cabot user
cabot_user: 'cabot'

# The cabot env path
cabot_venv_path: '/home/{{ cabot_user }}/cabot.venv'

# The cabot log folder path
cabot_log_folder: '/var/log/cabot'

# The cabot config folder path
cabot_config_folder: '/home/{{ cabot_user }}/cabot.config'

# The cabot config file path
cabot_config_file: '{{ cabot_config_folder }}/config'

# The cabot template
cabot_config_template: 'cabot.config.j2'

# If you want to install postgresql with apt
cabot_install_postgres: yes

# Cabot database credentials
cabot_db: 'cabot'
cabot_db_user: 'cabot'
cabot_db_pass: 'cabot'

# If you want to install redis with apt
cabot_install_redis: yes

# Enable default plugins
cabot_plugins:
  - cabot_alert_email
  - cabot_alert_hipchat
  - cabot_alert_twilio
  - cabot_alert_slack

Example

- hosts: all
  become: yes
  vars:
    cabot_user: 'cabot'
    cabot_plugins:
      - cabot_alert_email
      - cabot_alert_hipchat
  roles:
    - role: ansible-role-cabot
      cabot_listen_address: 0.0.0.0

Issues

If you have any problems using this role please make a github issue on cabotapp/ansible-cabot.

For any problems relating to Cabot itself, please make issues on arachnys/cabot.

About

An Ansible role to deploy Cabot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 63.1%
  • Shell 36.9%