]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: set ANSIBLE_COLLECTIONS_PATH for rbdmirror scenario
authorGuillaume Abrioux <gabrioux@ibm.com>
Tue, 13 Feb 2024 16:49:20 +0000 (17:49 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 14 Feb 2024 08:54:13 +0000 (09:54 +0100)
This is missing so the job fails.
Typical error:
```
ERROR! couldn't resolve module/action 'community.general.dnf_config_manager'.
```

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
tox-rbdmirror.ini

index 84328a7102c41e44ef6ff77cbf28ebc25dddaa83..ddb22b0df7dfa8577a5c546a53279939207b9a9d 100644 (file)
@@ -16,6 +16,7 @@ setenv=
   ANSIBLE_CALLBACK_WHITELIST = profile_tasks
   ANSIBLE_CACHE_PLUGIN = memory
   ANSIBLE_GATHERING = implicit
+  ANSIBLE_COLLECTIONS_PATH = {envdir}/ansible_collections
   # only available for ansible >= 2.5
   ANSIBLE_KEEP_REMOTE_FILES = 1
   ANSIBLE_STDOUT_CALLBACK = yaml