semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Question: where do I place the requirements.yml file for Ansible Galaxy modules (snap install)?

Open northwestnodes-eric opened this issue 1 year ago • 2 comments

Question

Hello,

Sorry for the stupid question, I've plowed through past issues, documentation, searches, etc. but I cannot seem to find out where to put Ansible Galaxy collections with a Snap install.

I've found a .ansible folder at ~/snap/semaphore/common/repositories/.ansible -- do I make a collections directory there and then set the environment files accordingly?

Thank you.

Related to

Configuration

northwestnodes-eric avatar Aug 21 '24 18:08 northwestnodes-eric

in your git repo (defined in semaphore ui -> Repositories) place a roles/requirements.yml for roles and a collections/requirements.yml for collections there.

steadfasterX avatar Sep 19 '24 10:09 steadfasterX

This one also took me a hot minute as it says

No collection/requirements.yml file found. Skip galaxy install process.
No collection/requirements.yml file found. Skip galaxy install process.
No role/requirements.yml file found. Skip galaxy install process.
No role/requirements.yml file found. Skip galaxy install process.

But the folder name needs an "s" so collections and roles

On Version v2.10.22-e44910d-1721658561

Konrni avatar Oct 07 '24 16:10 Konrni

It's a typo, in the logs. This must be the lowest hanging fruit for a PR

oussjarrousse avatar Nov 16 '24 01:11 oussjarrousse