Merge branch 'master' of git.9iron.club:salt/ansible
This commit is contained in:
commit
645a930d64
@ -7,10 +7,14 @@
|
||||
apt:
|
||||
name:
|
||||
- influxdb
|
||||
- influxdb-client
|
||||
- name: Template out config
|
||||
template:
|
||||
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
|
||||
|
@ -25,4 +25,9 @@
|
||||
loop:
|
||||
- { src: "50-ansible.conf", dest: "50-ansible.conf" }
|
||||
notify: restart telegraf
|
||||
- name: Start and enable Telegraf
|
||||
systemd:
|
||||
name: telegraf
|
||||
enabled: yes
|
||||
state: started
|
||||
become: yes
|
||||
|
Loading…
Reference in New Issue
Block a user