You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Besides, ansible-compat try to install requirements from requirements.yml, roles/requirements.yml and collections/requirements.yml, referring to ansible_compat/runtime.py#L322-L327
So we have two places to define requirements, it may make users confused.
Would it be possible to keep only one place to define requirements?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Could we remove requirements in
molecule.yml
?Currently, requirements can be defined in
molecule.yml
like below.Besides,
ansible-compat
try to install requirements fromrequirements.yml
,roles/requirements.yml
andcollections/requirements.yml
, referring to ansible_compat/runtime.py#L322-L327So we have two places to define requirements, it may make users confused.
Would it be possible to keep only one place to define requirements?
If we do so, the
execute
inansible_galaxy
folder would be removed with clean code.https://github.com/ansible-community/molecule/blob/d263e982dec4379dbd93a3f2addd6c5501b1e4ad/src/molecule/dependency/ansible_galaxy/base.py#L126-L131
Reference: installing-roles-and-collections-from-the-same-requirements-yml-file
Beta Was this translation helpful? Give feedback.
All reactions