On Wed, 29 Mar 2023 19:56:23 +0900 Prady A <[email protected]> wrote:
> #ansible-playbook -i inventory ssh_install.yml *-k* > ... avoid the -k option Use *ssh-agent*. https://www.ssh.com/academy/ssh/agent It is a bad practice to *ssh* to root. See https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html > password: "{{ 'PLAIN_PASSWORD' | password_hash('sha512') }}" See how to use Ansible vault https://docs.ansible.com/ansible/latest/cli/ansible-vault.html The next option is *passwordstore* https://www.passwordstore.org/ See the Ansible *passwordstore* lookup plugin https://docs.ansible.com/ansible/latest/collections/community/general/passwordstore_lookup.html -- Vladimir Botka -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20230329140245.257f0080%40gmail.com.
pgpjzvwp8hxc3.pgp
Description: OpenPGP digital signature
