I have configured the SSH transport options in my inventory.yaml:
{code:java}
version: 2 groups: - name: test targets: - name: test config: transport: ssh ssh: user: user private-key: some_key
{code}
If I try to use the --private-key CLI option still the private key as configured in the inventory file get's used. I need to remove the private-key from the inventory file to have the command line option being used.
My expectation would be that command line options generally override config file settings.