Add grafana role

This commit is contained in:
2019-12-01 20:40:29 -06:00
parent e13a935f80
commit c13ce7cb4d
8 changed files with 185 additions and 0 deletions

View File

@ -0,0 +1,17 @@
- name: configure nginx
template:
src: nginx.conf.j2
dest: /etc/nginx/sites-available/grafana
owner: root
group: root
mode: 0644
notify: reload nginx
- name: activate site
file:
src: /etc/nginx/sites-available/grafana
dest: /etc/nginx/sites-enabled/grafana
owner: root
group: root
state: link
notify: reload nginx