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