|
|
||
|---|---|---|
| .. | ||
| defaults | ||
| handlers | ||
| meta | ||
| tasks | ||
| templates | ||
| README.md | ||
Ansible Role Coller
Ansible role to manage a coller instance.
Configuration
See Variable precedence to find where you should put your own variables.
Then define at least coller_db_password with a strong and secure password,
encrypted using
ansible-vault.
Table of content
Role variables
The following variables can be configured for this role:
| Variable | Type | Required | Default | Description (abstract) |
|---|---|---|---|---|
coller_version |
str |
No | "1.3.1" |
Version of the binary. |
coller_config_dir |
path |
No | "/etc/coller" |
Directory of the configuration files. |
coller_port |
int |
No | 8080 |
Port to listen. |
coller_manage_iptables |
bool |
No | false |
Create iptables rule to allow the service. |
coller_allowed_sources |
list |
No | N/A | List of allowed networks to allow. Enabled when coller_manage_iptables is enabled. |
coller_db_name |
str |
No | "coller" |
Name of the database to connect. |
coller_db_user |
str |
No | "coller" |
User to connect to the database. |
coller_db_password |
str |
Yes | N/A | Password to connect to the database. |
coller_version
Version of the binary.
- Type:
str - Required: No
- Default:
"1.3.1"
coller_config_dir
Directory of the configuration files.
- Type:
path - Required: No
- Default:
"/etc/coller"
coller_port
Port to listen.
- Type:
int - Required: No
- Default:
8080
coller_manage_iptables
Create iptables rule to allow the service.
- Type:
bool - Required: No
- Default:
false
coller_allowed_sources
List of allowed networks to allow.
Enabled when coller_manage_iptables is enabled.
- Type:
list - Required: No
coller_db_name
Name of the database to connect.
- Type:
str - Required: No
- Default:
"coller"
coller_db_user
User to connect to the database.
- Type:
str - Required: No
- Default:
"coller"
coller_db_password
Password to connect to the database.
- Type:
str - Required: Yes
Usage
Example of a basic coller.yml playbook:
- hosts: coller
roles:
- coller
Then run the playbook:
ansible-playbook coller.yml