Make sure services are enabled and started
This commit is contained in:
parent
1982326553
commit
535d1b4929
@ -13,4 +13,9 @@
|
|||||||
src: "influxdb.conf"
|
src: "influxdb.conf"
|
||||||
dest: "/etc/influxdb/influxdb.conf"
|
dest: "/etc/influxdb/influxdb.conf"
|
||||||
notify: restart influxdb
|
notify: restart influxdb
|
||||||
|
- name: Start and enable Influxdb
|
||||||
|
systemd:
|
||||||
|
name: influxdb
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
||||||
become: yes
|
become: yes
|
||||||
|
@ -17,4 +17,9 @@
|
|||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- telegraf
|
- telegraf
|
||||||
|
- name: Start and enable Telegraf
|
||||||
|
systemd:
|
||||||
|
name: telegraf
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
||||||
become: yes
|
become: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user