Warning
This role is configured to install InfluxDB OSS v2. Though InfluxDB 3 Core is open source, it is not a replacement for OSS v2. InfluxDB 3 Enterprise can replace OSS v2, but it is proprietary and we will not support it.
This is an Ansible role which installs InfluxDB OSS v2 to run as a Docker container wrapped in a systemd service.
This role implicitly depends on:
Check defaults/main.yml for the full list of supported options.
💡 See this document for details about setting up the service with this role.
You can optionally install pre-commit so that simple mistakes are checked and noticed before changes are pushed to a remote branch. See .pre-commit-config.yaml
for which hooks are to be executed.
See this section on the official documentation for usage.