Merge branch 'master' of git.9iron.club:salt/ansible

This commit is contained in:
Salt 2020-08-31 21:03:04 -05:00
commit 645a930d64
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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