31 lines
1.4 KiB
YAML
31 lines
1.4 KiB
YAML
---
|
|
influxdb_deb_repo: "deb https://repos.influxdata.com/ubuntu {{ ansible_distribution_release }} stable"
|
|
influxdb_repo_key: 'https://repos.influxdata.com/influxdb.key'
|
|
influxdb_major_version: 2
|
|
influxdb_pkgs:
|
|
- influxdb2
|
|
- influxdb2-cli
|
|
|
|
influxdb_config_file: /etc/influxdb/influxdb.conf
|
|
influxdb_2_config_file: /etc/influxdb/config.toml
|
|
influxdb_config:
|
|
- {section: http, option: 'enabled', value: 'true', state: present}
|
|
- {section: http, option: 'bind-address', value: '":8086"', state: present}
|
|
- {section: http, option: 'log-enabled', value: 'true', state: present}
|
|
|
|
influxdb_2_config: []
|
|
|
|
influxdb_tls_letsencrypt_managed: true
|
|
influxdb_tls_enabled: false
|
|
influxdb_tls_cert_dir: /etc/pki/influxdb
|
|
influxdb_tls_cert_path: '{{ letsencrypt_acme_sh_certificates_install_path }}/fullchain'
|
|
influxdb_tls_key_path: '{{ influxdb_tls_cert_dir }}/influxdb.key'
|
|
influxdb_tls_config:
|
|
- {section: http, option: 'https-enabled', value: '{{ influxdb_tls_enabled | lower }}', state: present}
|
|
- {section: http, option: 'https-certificate', value: '"{{ influxdb_tls_cert_path }}"', state: present}
|
|
- {section: http, option: 'https-private-key', value: '"{{ influxdb_tls_key_path }}"', state: present}
|
|
|
|
influxdb_2_tls_config:
|
|
- {option: 'tls-cert', value: '"{{ influxdb_tls_cert_path }}"', state: present}
|
|
- {option: 'tls-key', value: '"{{ influxdb_tls_key_path }}"', state: present}
|