Re: [ansible-project] Ansible running in Docker Container"Connection refused Failed to connect to new control master"

2019-07-08 Thread Claudio Rivas
19 at 7:40:03 AM UTC-5, Claudio Rivas wrote: > > Hi Robert, thanks for the advice and the link. I've tried the mentioned > method and noticed there's a directory known as "cp"on the route > "/var/jenkins_home/.ansible" (yes, with a dot) where a file i

Re: [ansible-project] Ansible running in Docker Container"Connection refused Failed to connect to new control master"

2019-07-08 Thread Claudio Rivas
*"changed": false, * *"msg": "Failed to connect to the host via ssh: percent_expand: unknown key %(", * *"unreachable": true* *}* All this is making me think about the ssh server side and the way it's configured the ssh connection by default fo

Re: [ansible-project] Ansible running in Docker Container"Connection refused Failed to connect to new control master"

2019-07-06 Thread Claudio Rivas
Thanks for the hint, I’ll start moving on with your suggestions. I’ll come back to documento t this and let you know. -- 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 e

Re: [ansible-project] Ansible running in Docker Container"Connection refused Failed to connect to new control master"

2019-07-06 Thread Claudio Rivas
Same container. Generating the certificate without passwords makes problems with ssh server. -- 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 ansible-project+u

Re: [ansible-project] Ansible running in Docker Container"Connection refused Failed to connect to new control master"

2019-07-06 Thread Claudio Rivas
Thank you, yes I have generated the key with a password, but didn’t configured it for the Ansible connection, now I’m searching how to do it, but if you have an example will be helpful. Thank you again -- You received this message because you are subscribed to the Google Groups "Ansible Proje

Re: [ansible-project] Ansible running in Docker Container"Connection refused Failed to connect to new control master"

2019-07-06 Thread Claudio Rivas
Docker and Ansible. Best regards, On Saturday, July 6, 2019 at 1:33:14 PM UTC-5, Indian Velumani wrote: > > Hi, > > Run docker command with --net=host. > > Thanks. > > On Sun, Jul 7, 2019, 00:00 Claudio Rivas > > wrote: > >> Hi, >> >> I'm try

[ansible-project] Ansible running in Docker Container"Connection refused Failed to connect to new control master"

2019-07-06 Thread Claudio Rivas
Hi, I'm trying to connect to remote host through SSH and a Private Key to run a simple test to start working with Ansible to generate my inventories: ansible -m ping -i hosts test1 -vvv Hosts file have a simple configuration [test] test1 ansible_host=remote_host ansible_user=remote_user an