Use a loop for configuration.

This commit is contained in:
Hyperling 2021-03-14 19:41:27 -05:00
parent 40a101c4c3
commit 8c3253175f

View File

@ -28,11 +28,9 @@
## Configure ## ## Configure ##
- name: Server | Grafana | Configure | Reload Daemons - name: Server | Grafana | Configure
shell: systemctl daemon-reload shell: '{{ item }}'
loop:
- name: Server | Grafana | Configure | Enable - systemctl daemon-reload
shell: systemctl enable grafana-server - systemctl enable grafana-server
- systemctl start grafana-server
- name: Server | Grafana | Configure | Start
shell: systemctl start grafana-server