From 067d036dd5094c5945a08be31681db6536495eb2 Mon Sep 17 00:00:00 2001 From: Tobias Bauriedel Date: Mon, 15 Jan 2024 11:33:52 +0100 Subject: [PATCH] fix collection name --- plugins/modules/organize_bucket.py | 2 +- requirements-test.txt | 3 ++- requirements.txt | 1 - roles/influxdb2/tasks/setup.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/modules/organize_bucket.py b/plugins/modules/organize_bucket.py index 8f4753f..96f8791 100644 --- a/plugins/modules/organize_bucket.py +++ b/plugins/modules/organize_bucket.py @@ -2,7 +2,7 @@ # pylint: disable=missing-module-docstring from ansible.module_utils.basic import AnsibleModule -from ansible_collections.tbauriedel.influxdb.plugins.module_utils.utils import (Influx2Api) # pylint: disable=import-error +from ansible_collections.tbauriedel.influxdb2.plugins.module_utils.utils import (Influx2Api) # pylint: disable=import-error def run_module(): ''' diff --git a/requirements-test.txt b/requirements-test.txt index b1a8a44..7801267 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,5 @@ ansible ansible-lint molecule -molecule-docker \ No newline at end of file +molecule-docker +requests \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 4f6c4ee..e69de29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +0,0 @@ -p \ No newline at end of file diff --git a/roles/influxdb2/tasks/setup.yml b/roles/influxdb2/tasks/setup.yml index 3fba242..ab50df0 100644 --- a/roles/influxdb2/tasks/setup.yml +++ b/roles/influxdb2/tasks/setup.yml @@ -22,7 +22,7 @@ # TODO add handling for orgs, buckets, etc. - name: Organize buckets - tbauriedel.influxdb.organize_bucket: + tbauriedel.influxdb2.organize_bucket: name: "{{ item.name }}" state: "{{ item.state }}" org: "{{ item.org }}"