Open YoSiJo opened 2 years ago
You could pass the ENV variable through the Semaphore unit file, although that's problematic, especially if you have several inventories that need different keys (which is the case that I have).
To be honest, we keep recommending Semaphore to our clients as a lightweight Ansible GUI and almost every time we have to abandon it because it lacks the support for environment variables.
I'm currently considering re-adding this functionality: https://github.com/ansible-semaphore/semaphore/pull/458 but am not sure whether it would get merged.
I want to use the nb_inventory_inventory and therefore need to pass in the API endpoint and token as "shell enviroments". What currently probably does not work with semaphore.
AWX/TOWER has the same problem and the following solution:
I couldn't find a suitable equivalent for this on your end.
Any idea or solution?