Open UmfintechWtc opened 3 months ago
I found a strange phenomenon that when adding a host in the inventory menu bar, there is an option called Type - File. Then I filled in "Path to inventory file", and the hosts used an absolute path. Before I triggered Build, I specified specific hosts in the CLI I found that regardless of which hosts were specified in the Build CLI, the path "Path to inventory file" was always used during the build. Is this phenomenon normal?
Nice try :)
I think it correlates to my 'feature request', where you should be able to attach multiple inventories in task template, so semaphore would do '-i' ... multiple times for you:
Issue
I have two host lists, one host and one test. When I specify ["- i", "inventory/test"] in the CLI, this parameter does not take effect. There is only one host in the test, but the hosts are still being read during runtime。
Impact
Ansible (task execution)
Installation method
Package
Database
MySQL
Browser
Chrome
Semaphore Version
Semaphore 2.10.11-d31ebd3-1719394739
Ansible Version
Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
No response