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

2020-08-25 Thread Jesus David Posada Escobar
At the same level where the host inventory is, create a file named ansible.cfg with the following: [ssh_connection] ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s control_path = /dev/shm/cp%%h-%%p-%%r That will solve your problem El sábado, 6 de julio de 2019 a la(s) 13:30:45 UTC-5,

[ansible-project] Re: Ansible in the docker container?

2016-11-22 Thread Steven Truong
I did try to reduce the size of Ansible and it is not worth it. I could only reduce around 4 MBs off the total size of the container. On Monday, November 7, 2016 at 5:18:34 PM UTC-8, Steven Truong wrote: > > Hi all, > > Am I being too picky here or just being naive in the ways I approach my >

[ansible-project] Re: Ansible in the docker container?

2016-11-08 Thread James Tanner
The docker connection plugin is probably what you are looking for. It allows ansible to manipulate the container via the docker exec api. On Monday, November 7, 2016 at 8:18:34 PM UTC-5, Steven Truong wrote: > > Hi all, > > Am I being too picky here or just being naive in the ways I approach my