ansible/roles/coller
Julien Riou 3b4fd2a990
Some checks failed
/ ansible-docsmith (push) Failing after 19s
/ molecule (certbot) (push) Failing after 28s
/ molecule (galene) (push) Failing after 18s
/ molecule (golang) (push) Failing after 32s
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2026-02-17 09:32:24 +01:00
..
defaults Initial commit 2026-02-17 09:32:24 +01:00
handlers Initial commit 2026-02-17 09:32:24 +01:00
meta Initial commit 2026-02-17 09:32:24 +01:00
tasks Initial commit 2026-02-17 09:32:24 +01:00
templates Initial commit 2026-02-17 09:32:24 +01:00
README.md Initial commit 2026-02-17 09:32:24 +01:00

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

⇑ Back to ToC ⇑

Version of the binary.

  • Type: str
  • Required: No
  • Default: "1.3.1"

coller_config_dir

⇑ Back to ToC ⇑

Directory of the configuration files.

  • Type: path
  • Required: No
  • Default: "/etc/coller"

coller_port

⇑ Back to ToC ⇑

Port to listen.

  • Type: int
  • Required: No
  • Default: 8080

coller_manage_iptables

⇑ Back to ToC ⇑

Create iptables rule to allow the service.

  • Type: bool
  • Required: No
  • Default: false

coller_allowed_sources

⇑ Back to ToC ⇑

List of allowed networks to allow.

Enabled when coller_manage_iptables is enabled.

  • Type: list
  • Required: No

coller_db_name

⇑ Back to ToC ⇑

Name of the database to connect.

  • Type: str
  • Required: No
  • Default: "coller"

coller_db_user

⇑ Back to ToC ⇑

User to connect to the database.

  • Type: str
  • Required: No
  • Default: "coller"

coller_db_password

⇑ Back to ToC ⇑

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