Use a loop for configuration.
This commit is contained in:
parent
40a101c4c3
commit
8c3253175f
@ -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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user