forked from ISTI-ansible-roles/ansible-roles
d4science-ghn-cluster: new pgpool hosts.
library/roles/grafana: move the role out of the tick directory. infrastructure-services: fix the virtualhosts for letsencrypt.
This commit is contained in:
parent
ae7ec8a9b7
commit
657a975732
|
@ -1,19 +1,19 @@
|
||||||
---
|
---
|
||||||
- name: Install the grafana repo key
|
- name: Install the grafana repo key
|
||||||
apt_key: url={{ grafana_repo_key }} state=present
|
apt_key: url={{ grafana_repo_key }} state=present
|
||||||
tags: [ 'grafana', 'tick' ]
|
tags: [ 'grafana' ]
|
||||||
|
|
||||||
- name: Install the grafana deb repository
|
- name: Install the grafana deb repository
|
||||||
apt_repository: repo='{{ grafana_repo }}' state=present update_cache=yes
|
apt_repository: repo='{{ grafana_repo }}' state=present update_cache=yes
|
||||||
tags: [ 'grafana', 'tick' ]
|
tags: [ 'grafana' ]
|
||||||
|
|
||||||
- name: Install the grafana deb packages
|
- name: Install the grafana deb packages
|
||||||
apt: name='{{ item }}' state=present
|
apt: name='{{ item }}' state=present
|
||||||
with_items: '{{ grafana_packages }}'
|
with_items: '{{ grafana_packages }}'
|
||||||
tags: [ 'grafana', 'tick' ]
|
tags: [ 'grafana' ]
|
||||||
|
|
||||||
- name: Ensure that grafana is enabled and running
|
- name: Ensure that grafana is enabled and running
|
||||||
service: name=grafana-server state=started enabled=yes
|
service: name=grafana-server state=started enabled=yes
|
||||||
when: grafana_enabled
|
when: grafana_enabled
|
||||||
tags: [ 'grafana', 'tick' ]
|
tags: [ 'grafana' ]
|
||||||
|
|
Loading…
Reference in New Issue