src.dualinventive.com/devops/ansible/roles/influxdb/tasks/main.yml

23 lines
512 B
YAML

- apt: name=python-pycurl state=latest
become: true
- apt: name=apt-transport-https state=latest
become: true
- apt_key: url=https://repos.influxdata.com/influxdb.key state=present
become: true
- apt_repository: repo='deb [arch=amd64] https://repos.influxdata.com/debian jessie stable' state=present
become: true
- apt: update_cache=yes
become: true
- apt: name='{{ item }}' state=latest
with_items:
- influxdb
become: true
- service: name=influxdb state=started enabled=yes
become: true