aboutsummaryrefslogtreecommitdiff
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
parent79cdef90e78237a4b197905304506c5ed15fd232 (diff)
downloadansible_collection-6f4a9fb43d92ffcbcb8411b880d9f2f14c1334fe.tar.gz
influxdb: flush handlers before user/db creation
-rw-r--r--galaxy.yml2
-rw-r--r--roles/influxdb/tasks/main.yml3
2 files changed, 4 insertions, 1 deletions
diff --git a/galaxy.yml b/galaxy.yml
index bc8d4e9..fe48a4f 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -1,6 +1,6 @@
namespace: kompetenzbolzen
name: stuff
-version: 0.0.3
+version: 0.0.4
readme: README.md
authors:
- Jonas Gunz <himself@jonasgunz.de>
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 }}'