Use a loop for configuration.
This commit is contained in:
parent
40a101c4c3
commit
8c3253175f
@ -28,11 +28,9 @@
|
||||
|
||||
## Configure ##
|
||||
|
||||
- name: Server | Grafana | Configure | Reload Daemons
|
||||
shell: systemctl daemon-reload
|
||||
|
||||
- name: Server | Grafana | Configure | Enable
|
||||
shell: systemctl enable grafana-server
|
||||
|
||||
- name: Server | Grafana | Configure | Start
|
||||
shell: systemctl start grafana-server
|
||||
- name: Server | Grafana | Configure
|
||||
shell: '{{ item }}'
|
||||
loop:
|
||||
- systemctl daemon-reload
|
||||
- systemctl enable grafana-server
|
||||
- systemctl start grafana-server
|
||||
|
Loading…
x
Reference in New Issue
Block a user