ansible-roles/tick/chronograf/tasks/main.yml

15 lines
484 B
YAML

---
- name: Download the chronograf deb file
get_url: url={{ chronograf_deb_url }} dest=/srv/{{ chronograf_deb_file }}
tags: [ 'influxdata', 'chronograf', 'tick' ]
- name: Install the chronograf package
apt: deb=/srv/{{ chronograf_deb_file }}
tags: [ 'influxdata', 'chronograf', 'tick' ]
- name: Ensure that chronograf is enabled and running
service: name=chronograf state=started enabled=yes
when: chronograf_enabled
tags: [ 'influxdata', 'chronograf', 'tick' ]