Hello. Sorry for my english.
I have Ubuntu server 20.04, ansible core 2.11.3.
my hosts file has only ip address
in ansible.cfg is:
remote_user = spravce
private_key_file = /home/spravce/.ssh/spravce_id_rsa.ppk
vault_password_file = /home/spravce/.ssh/password.txt
in .bashrc is :
export ANSIBLE_VAULT_PASSWORD_FILE=/home/spravce/.ssh/password.txt
i need create vault password file for private ssh key file
for user “spravce” password maybye “heslo”.
will advise me the correct syntax of the script how to generate this password so that it serves as a password to the private key when logging in to the remote server.
Thank you