onaio.courier

onaio - Courier

This role installs and sets up Courier.

Requirements

Courier requires access to Redis and PostgreSQL to function properly.

Role Variables

You can find all default variables in the defaults/main.yml file.

# The URL for the package repository where Courier can be downloaded from
courier_package_repository_url: "https://github.com/nyaruka/courier/releases/download"

# The system architecture of the host machine. Possible values are:
#   - linux_amd64
#   - windows_amd64
#   - darwin_amd64
courier_system_architecture: "linux_amd64"

# The download link for the Courier package
courier_download_url: "{{ courier_package_repository_url }}/v{{ courier_version }}/courier_{{ courier_version }}_{{ courier_system_architecture }}.tar.gz"

# The main directory where versioned Courier directories will be created
courier_package_directory_root: "{{ courier_system_home }}/app-versioned"

# The name of the directory where the Courier executable will be placed
courier_package_directory_name: "{{ courier_version }}"

# Path to the symbolic link that points to the currently active Courier executable
courier_active_package_symlink: "{{ courier_system_home }}/app"

# Environment variables for Courier. You can find the full list at
# https://github.com/nyaruka/courier#rapidpro-configuration
courier_environment_vars:
  COURIER_DOMAIN: "example.com"
  COURIER_SPOOL_DIR: "{{ courier_system_home }}/spool"

Dependencies

Example Playbook

- hosts: all
  roles:
    - role: ansible-courier
      courier_version: "1.2.148"

License

Apache v2.0

Informazioni sul progetto

Installs and configures Courier. Courier is a messaging gateway for text-based messaging channels.

Installa
ansible-galaxy install onaio.courier
Licenza
apache-2.0
Download
588
Proprietario