Fix YAML linting and service name

This commit is contained in:
Jake Howard 2021-01-31 17:27:44 +00:00
parent 7b9bab14fa
commit 54eee03524
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -25,7 +25,7 @@
- name: Enable grafana - name: Enable grafana
service: service:
name: grafana-service name: grafana-server
enabled: true enabled: true
become: true become: true
@ -47,7 +47,7 @@
loop_control: loop_control:
label: "{{ item.section }}.{{ item.option }}={{ item.value }}" label: "{{ item.section }}.{{ item.option }}={{ item.value }}"
loop: loop:
- {section: http, option: bind-address, value: ":8086"} - {section: http, option: bind-address, value: 0.0.0.0:8086}
- {section: http, option: auth-enabled, value: "true"} - {section: http, option: auth-enabled, value: "true"}
- name: Configure grafana - name: Configure grafana