Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Allow installation of ansible roles/collections via requirements.yml #118

Open
szEvEz opened this issue Dec 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@szEvEz
Copy link

szEvEz commented Dec 20, 2023

Description

It would be nice to install ansible roles/collections via requirements.yml, so I do not have to maintain the requirements twice.

I would like to add the requirements in two ways:

  • via url, e.g.
ansible:
  requirements:
    - https://raw.githubusercontent.com/T-Systems-MMS/ansible-role-maxscale/master/requirements.yml
  • via adding the requirements.yml form my repository into the build context somehow

Unfortunately, the way it is documented in https://github.com/telekom-mms/docker-management-container/blob/main/docs/usage/setup_and_configuration/tool_config.md is currently not working, as

# https://github.com/telekom-mms/docker-management-container/blob/main/template.d/21_requirements#L39
ansible-galaxy install -r $URL

is not a functionality the ansible-galaxy command offers.

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant