Inventory with multiple keys and groups #2142
Replies: 1 comment
-
I decided to just use Ansible Vault for now to be able to continue moving on/progressing. But now I have now ran in to another issue when executing the task template im unable to say which group I want the playbook to run against. Ive tried putting in the following in to the CLI arguments One argument would be I could create an inventory file for each group instead, but there are certain playbooks i want to run on all hosts which would mean I would need multiple task templates or to use the CLI arguements to select each inventory file. Is there any plan to support selecting multiple inventories per task template as I think it would be possible for semaphore to support this as it would just need to loop |
Beta Was this translation helpful? Give feedback.
-
Hello,
New to Semaphore UI and liking the look of it so far! :) I've got an existing inventory and looking to do one of two things, either move the whole inventory in to semaphore or move just the passwords in the semaphores key storage.
My main issue with moving over the inventory to semaphore UI is that i use groups and within the groups sometimes each host has different credentials (see zfs_servers in example below), from what i can see there isnt a way to replicate this in semaphore?
This lead me to just storing the passwords in the keystore but I cannot see a way of referencing the key store in my inventory file unless I'm missing something?
Also ideally i want to be using SSH keys but that obviously has the same issues currently
Inventory file example:
Also on a separate topic, is there any plan to allow bash tasks to use inventory to remotely connect to a server and run said bash task?
Beta Was this translation helpful? Give feedback.
All reactions