Merge branch 'master' of git.9iron.club:salt/ansible
This commit is contained in:
commit
645a930d64
@ -7,10 +7,14 @@
|
|||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- influxdb
|
- influxdb
|
||||||
- influxdb-client
|
|
||||||
- name: Template out config
|
- name: Template out config
|
||||||
template:
|
template:
|
||||||
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
|
||||||
|
@ -25,4 +25,9 @@
|
|||||||
loop:
|
loop:
|
||||||
- { src: "50-ansible.conf", dest: "50-ansible.conf" }
|
- { src: "50-ansible.conf", dest: "50-ansible.conf" }
|
||||||
notify: restart telegraf
|
notify: restart 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