Can you provide a minimal Ansible playbook with a vaulted variable file to
see if we can recreate it or see anything amiss?
The error message you're showing states "root @ SOME_IP: Permission denied
(publickey,password)" which doesn't seem to be ansible-vault related.
On Sunday, October 2, 2022
Yes it works, and it works unencrypted.
On Sun, 2 Oct 2022 at 21:02 Evan Hisey wrote:
> Can you confirm the decrypted key is valid by direct ssh? Hard to tell
> for sure but that looks like the target host is rejecting the key format.
> Not all key formats are accepted by all targets. I have ru
Can you confirm the decrypted key is valid by direct ssh? Hard to tell for
sure but that looks like the target host is rejecting the key format. Not
all key formats are accepted by all targets. I have run in to this with
Github and Tenable Scanners.
On Sun, Oct 2, 2022 at 6:15 AM jer...@gmail.com
I'm using in inventory/group_vars/all.yaml:
*ansible_ssh_private_key_file: '{{inventory_dir}}/group_vars/path/to/key'*
This Key is working well when it's plain text
When I encrypt the file with ansible-vault, i get the error:
*Load key
"/home/user/projects/ansible/inventory/group_vars