ansible/roles/influxdb/tasks/Debian.yaml

13 lines
350 B
YAML
Raw Permalink Normal View History

2019-12-02 02:40:40 +00:00
---
- name: add influx apt key
apt_key:
url: https://repos.influxdata.com/influxdb.key
state: present
- name: configure apt repository
apt_repository:
repo: "deb https://repos.influxdata.com/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable"
filename: influxdb
update_cache: yes
state: present