I am trying to structure my re-usable ansible code in collections (roles, modules...) and I wanted to use the same strategy for playbooks.
Imagine a collection named acme.cloud
.
In the root of the collection, I have the following files directory structure:
/docs
/meta
/playbooks
/playbooks/test.yml
/roles
galaxy.yml
README.md
Now when I run ansible-plybook acme.cloud.test -i /someinventory
i get the warning:
[WARNING]: running playbook inside collection acme.cloud
The playbook runs fine but I am concerned about the warning, the reason about it, possible problems and side consequences. I could not find any documentation state that playbooks are not allowed in collections
Any idea or comment?
Thanks