drone-ansible icon indicating copy to clipboard operation
drone-ansible copied to clipboard

Plugin fails to authenticate SSH for `ansible-galaxy install`

Open markocelan opened this issue 3 years ago • 0 comments

Plugin fails to git clone roles in requirements.yaml if those roles are not publicly accessible.

Plugin supports private-key parameter which creates /tmp/privateKey* file containing private key for SSH auth, however this parameter is only passed to ansible command. Unfortunately ansible-galaxy is unaware of this private key and is unable to authenticate.

Expectation: When plugin excepts private_key parameter I would expect it to use this key consistently across all commands within this plugin.

markocelan avatar Apr 28 '21 14:04 markocelan