aboutsummaryrefslogtreecommitdiff
path: root/roles/influxdb
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-07 02:31:21 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-07 02:31:21 +0200
commit6f4a9fb43d92ffcbcb8411b880d9f2f14c1334fe (patch)
tree34e8446de54fd0a5c1dffe792ce0f979ba6e83b7 /roles/influxdb
parent79cdef90e78237a4b197905304506c5ed15fd232 (diff)
downloadansible_collection-6f4a9fb43d92ffcbcb8411b880d9f2f14c1334fe.tar.gz
influxdb: flush handlers before user/db creation
Diffstat (limited to 'roles/influxdb')
-rw-r--r--roles/influxdb/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/influxdb/tasks/main.yml b/roles/influxdb/tasks/main.yml
index 0ccda4c..ed50459 100644
--- a/roles/influxdb/tasks/main.yml
+++ b/roles/influxdb/tasks/main.yml
@@ -49,6 +49,9 @@
notify:
- Restart influxdb
+- name: Flush handlers
+ meta: flush_handlers
+
- name: create Influx DBs
influxdb_database:
database_name: '{{ item }}'