tmt
tmt copied to clipboard
Usage of Ansible Inventory in local provisioning
The support of ansible inventory in local provisioning could be problematic and introduce potential security issues e.g. you can run tasks on localhost even on the multi-host system
Investigate:
- If supporting inventory in local provisioning would bring any benefit
- If its support could introduce security issues
Created from https://github.com/teemtee/tmt/pull/3839#discussion_r2440288143
Needs more discussion to find out what to do here.
From the hacking session:
- Running ansible and having inventory for local provision makes sense because you could have multiple local provision guests
- Prohibiting
local/localhoston all other provision types makes sense, but requires research on how to do it. If you have ideas, let us know