-
Story
-
Resolution: Unresolved
-
Minor
-
None
-
RH294 - RHEL9.0-en-2-20221117
-
None
-
7
-
en-US (English)
URL:
Reporter RHNID:
Section: -
Language: en-US (English)||||||||
Workaround:
Description: Could we use the fully qualified collection path for the include_role module? Just to have consistency.
Also, we could use 'role install', 'role init' with the ansible-galaxy command.
Under step 6.2 in this LAB, we spell out all the details of the infra.apache role all over again when we configure it as a dependency. The following would be enough, since we have already checked out the content from git:
dependencies: - role: infra.apache
At least this is the style shown in the online documentation:
[https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#using-role-dependencies
]