Skip to content

Question: Not run galaxy install process when executing a Ansible task template? #2982

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

Open
nodesocket opened this issue Apr 29, 2025 · 3 comments
Assignees
Labels
Milestone

Comments

@nodesocket
Copy link

Question

How can I suppress or not run galaxy install process when executing a Ansible task template?

2:19:26 PM
installing static inventory
2:19:26 PM
No /tmp/semaphore/project_2/repository_1_template_3/playbooks/utils/collections/requirements.yml file found. Skip galaxy install process.
2:19:26 PM
No /tmp/semaphore/project_2/repository_1_template_3/playbooks/utils/requirements.yml file found. Skip galaxy install process.
2:19:26 PM
No /tmp/semaphore/project_2/repository_1_template_3/collections/requirements.yml file found. Skip galaxy install process.
2:19:26 PM
No /tmp/semaphore/project_2/repository_1_template_3/requirements.yml file found. Skip galaxy install process.
2:19:26 PM
No /tmp/semaphore/project_2/repository_1_template_3/playbooks/utils/roles/requirements.yml file found. Skip galaxy install process.
2:19:26 PM
No /tmp/semaphore/project_2/repository_1_template_3/playbooks/utils/requirements.yml file found. Skip galaxy install process.
2:19:26 PM
No /tmp/semaphore/project_2/repository_1_template_3/roles/requirements.yml file found. Skip galaxy install process.
2:19:26 PM
No /tmp/semaphore/project_2/repository_1_template_3/requirements.yml file found. Skip galaxy install process.

Related to

Ansible (task execution)

@fiftin
Copy link
Collaborator

fiftin commented Apr 30, 2025

Hi @nodesocket
Semaphore didn't find your requirements.yml.

@nodesocket
Copy link
Author

nodesocket commented May 1, 2025

What should go in /requirements.yml can I just add a skeleton to avoid all these messages from galaxy?

roles:

collections:

Adding /requirements.yml to the root of the repo.

@fiftin
Copy link
Collaborator

fiftin commented May 2, 2025

Hi, I think we can replace this messages to single message.

@fiftin fiftin self-assigned this May 2, 2025
@fiftin fiftin added this to the 2.14 milestone May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants