-
I have a playbook that has this in it:
That fails everytime because, of course, my Semaphore docker container does not have the necessary role installed. How do I install it? How do I keep it persistent? Thanks so much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You need as to root of your repo a roles directory with a requirements.yml file compliant with Ansible's requirement file syntax Each time you run your task it will read this file and attempt to install the roles specified. |
Beta Was this translation helpful? Give feedback.
-
Yes! Thank you so much. That's it. |
Beta Was this translation helpful? Give feedback.
You need as to root of your repo a roles directory with a requirements.yml file compliant with Ansible's requirement file syntax
Each time you run your task it will read this file and attempt to install the roles specified.