diff options
author | Lasse Haugen <haugen.lasse@gmail.com> | 2020-02-01 12:12:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-01 12:12:29 +0100 |
commit | dcf832a28b042687f1d0c742c0804c8eeb747df5 (patch) | |
tree | e32323270400e57172a773a7450f999f6a317e67 /ansible/roles/influx/tasks | |
parent | 4dece982e5630dd57d49a10bd043b1e21da1b669 (diff) | |
parent | 5bc0bad679cce9ec697e74fc2539e4a7af0cb707 (diff) |
Merge pull request #213 from gathering/ansible-ubuntu
Add Ubuntu 18.04 support in Ansible
Diffstat (limited to 'ansible/roles/influx/tasks')
-rw-r--r-- | ansible/roles/influx/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/influx/tasks/main.yml b/ansible/roles/influx/tasks/main.yml index cb3a784..2f31b85 100644 --- a/ansible/roles/influx/tasks/main.yml +++ b/ansible/roles/influx/tasks/main.yml @@ -7,7 +7,7 @@ apt_key: url=https://repos.influxdata.com/influxdb.key state=present - name: Add InfluxDB repository - apt_repository: repo='deb https://repos.influxdata.com/debian jessie stable' state=present + apt_repository: repo='deb https://repos.influxdata.com/{{ ansible_distribution | lower }} {{ ansible_distribution_release | lower }} stable' state=present - name: Install InfluxDB packages apt: name=influxdb state=present update_cache=yes |