debops.influxdb default variables¶
Sections
InfluxDB server configuration¶
-
influxdb__server
¶
FQDN hostname of the InfluxDB server. If a local InfluxDB server is detected, it will override this variable automatically. Only one server at a time is currently supported per host. DNS name is required because this access is via a HTTP(S) API
influxdb__server: ''
-
influxdb__port
¶
Port number on which to connect to the server. You usually don't need to change this.
influxdb__port: '8086'
-
influxdb__delegate_to
¶
When the InfluxDB server is used remotely, this variable allows to control the task delegation to the database server. Defaults to inventory_hostname, the calls to the API are done from the host where runs influxdb playbook.
influxdb__delegate_to: '{{ inventory_hostname }}'
SSL configuration¶
-
influxdb__pki
¶
Enable or disable support for SSL in InfluxDB (using debops.pki).
influxdb__pki: '{{ ansible_local.pki.enabled | d() | bool }}'
Databases, user accounts¶
-
influxdb__password_length
¶
Length of automatically generated user accounts, saved in the secret/
directory. See debops.secret role for more details about passwords.
influxdb__password_length: '48'
-
influxdb__root_password
¶
Password for default root admin user.
influxdb__root_password: '{{ lookup("password",
secret + "/influxdb/" + influxdb__server +
"/credentials/root/password " +
"length=" + influxdb__password_length) }}'
-
influxdb__databases
¶
List of databases configured on the InfluxDB server. See influxdb__databases for more details.
influxdb__databases: []
-
influxdb__dependent_databases
¶
List of databases configured on the InfluxDB server, defined by another Ansible role.
influxdb__dependent_databases: []
-
influxdb__retention_policies
¶
List of retention policies configured on the InfluxDB server. See influxdb__retention_policies for more details.
influxdb__retention_policies: []
-
influxdb__dependent_retention_policies
¶
List of retention policies configured on the InfluxDB server, defined by another Ansible role.
influxdb__dependent_retention_policies: []
-
influxdb__users
¶
List of user accounts configured on the InfluxDB server. See influxdb__users for more details.
influxdb__users: []
-
influxdb__dependent_users
¶
List of user accounts configured on the InfluxDB server, defined by another Ansible role.
influxdb__dependent_users: []
Configuration for other Ansible roles¶
-
influxdb__python__dependent_packages3
¶
Configuration for the debops.python Ansible role.
influxdb__python__dependent_packages3:
- 'python3-influxdb'
-
influxdb__python__dependent_packages2
¶
Configuration for the debops.python Ansible role.
influxdb__python__dependent_packages2:
- 'python-influxdb'