Re: [ansible-project] Re: ansible_ssh_pass parameter with salt encrypt value of ansible_user password makes client server Unreachable on playbook run

2017-08-11 Thread Lorenzo Farinas
I found a way to generate key pair using RSA on Ansible control machine, copied the public key to the client's /.ssh/authorized_keys. When I run a playbook, it prompts me for the password I used to protect the private key. I followed the SSH Agent Forwarding with Ansible notes by configuring

Re: [ansible-project] Re: ansible_ssh_pass parameter with salt encrypt value of ansible_user password makes client server Unreachable on playbook run

2017-08-10 Thread Dick Visser
On 10 August 2017 at 21:19, Lorenzo Farinas wrote: > Please provide the procedure on how to add ssh-agent and ssh keys to the > client with reference to Ansible control machine. My research on this task > is not productive. - Thanks, Lorenzo Working with SSH keys and

Re: [ansible-project] Re: ansible_ssh_pass parameter with salt encrypt value of ansible_user password makes client server Unreachable on playbook run

2017-08-10 Thread Lorenzo Farinas
Please provide the procedure on how to add ssh-agent and ssh keys to the client with reference to Ansible control machine. My research on this task is not productive. - Thanks, Lorenzo On Tuesday, August 8, 2017 at 7:44:13 AM UTC-10, Adrian Likins wrote: > > I tried to use the vault by

Re: [ansible-project] Re: ansible_ssh_pass parameter with salt encrypt value of ansible_user password makes client server Unreachable on playbook run

2017-08-08 Thread Adrian Likins
> > I tried to use the vault by creating a .vault_pass file with its content > ansible_ssh_pass=value of root password, and then ran ansible-playbook > CreateTestfile.yml --vault-password-file /root/.vault_pass, but I got this > following error message: > Attempted to read "/etc/ansible/hosts" as

[ansible-project] Re: ansible_ssh_pass parameter with salt encrypt value of ansible_user password makes client server Unreachable on playbook run

2017-08-03 Thread Lorenzo Farinas
I also want to know if anyone can help on how to fix this problem as even though I put back the plain text password to the ansible_ssh_pass parameter, the playbook run would still fail with the server Unreachable on the server that had the parameter replaced with its salt encrypt value. On

[ansible-project] Re: ansible_ssh_pass parameter with salt encrypt value of ansible_user password makes client server Unreachable on playbook run

2017-08-02 Thread Lorenzo Farinas
Daniel, This is the configuration I have for this server that belongs to the apacheservers group that worked, with the root password explicitly entered in the ansible_ssh_pass parameter. [apacheservers] TestRHEL73tr1 ansible_host=XX.X.XX.XXX ansible_port=22 ansible_user=root

[ansible-project] Re: ansible_ssh_pass parameter with salt encrypt value of ansible_user password makes client server Unreachable on playbook run

2017-07-29 Thread Daniel JD
Also check out Ansible- Vault for more security. http://docs.ansible.com/ansible/latest/playbooks_vault.html Am Samstag, 29. Juli 2017 00:58:45 UTC+2 schrieb Lorenzo Farinas: > > I successfully created and tested some Ansible playbooks, that's when > ansible_ssh_pass parameter value is the