homeserver/Archiv/mgrote.influxdb/defaults/tasks/config.yml
Quotengrote effde3f736
Housekeeping (#47)
* Ungenutzte Rollen in Archiv verschoben

* Group_Vars und Playbook Bezeichnungen vereinheitlicht

* Archiv aufgeräumt
2020-10-14 15:47:50 +02:00

22 lines
471 B
YAML

---
- name: copy influxdb.conf
become: yes
template:
src: influxdb.conf
dest: /etc/influxdb/influxdb.conf
- name: restart_influxd
service:
name: influxd
state: started
enabled: yes
- name: create influxdb users
become: yes
influxdb_user:
user_name: "{{ item.name }}"
user_password: "{{ item.password }}"
state: present
hostname: localhost
loop: "{{ influxdb_users }}"
no_log: true