<demoredis_redis_1> ESTABLISH DOCKER CONNECTION FOR USER: ?
<demoredis_redis_1> EXEC ['/usr/bin/docker', u'--tls', u'--tlscert=/root/.sdc/docker/dbba/cert.pem', u'--tlskey=/root/.sdc/docker/dbba/key.pem', u'-H=tcp://109.105.30.13:2376', 'exec', '-i', u'demoredis_redis_1', u'/bin/sh', '-c', u'/bin/sh -c "echo ~ && sleep 0"']
<demoredis_redis_1> EXEC ['/usr/bin/docker', u'--tls', u'--tlscert=/root/.sdc/docker/dbba/cert.pem', u'--tlskey=/root/.sdc/docker/dbba/key.pem', u'-H=tcp://109.105.30.13:2376', 'exec', '-i', u'demoredis_redis_1', u'/bin/sh', '-c', u'/bin/sh -c "( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423 `" && echo ansible-tmp-1506413465.61-222473804540423="` echo /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423 `" ) && sleep 0"']
<demoredis_redis_1> PUT /tmp/tmpN61P5I TO /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/redis_cnf.py
<demoredis_redis_1> -EXEC ['/usr/bin/docker', '--tls', '--tlscert=/root/.sdc/docker/dbba/cert.pem', '--tlskey=/root/.sdc/docker/dbba/key.pem', '-H=tcp://109.105.30.13:2376', 'cp', '/tmp/tmpN61P5I', 'demoredis_redis_1:/root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/redis_cnf.py']
<demoredis_redis_1> EXEC ['/usr/bin/docker', u'--tls', u'--tlscert=/root/.sdc/docker/dbba/cert.pem', u'--tlskey=/root/.sdc/docker/dbba/key.pem', u'-H=tcp://109.105.30.13:2376', 'exec', '-i', u'demoredis_redis_1', u'/bin/sh', '-c', u'/bin/sh -c "chmod u+x /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/ /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/redis_cnf.py && sleep 0"']
<demoredis_redis_1> EXEC ['/usr/bin/docker', u'--tls', u'--tlscert=/root/.sdc/docker/dbba/cert.pem', u'--tlskey=/root/.sdc/docker/dbba/key.pem', u'-H=tcp://109.105.30.13:2376', 'exec', '-i', u'demoredis_redis_1', u'/bin/sh', '-c', u'/bin/sh -c "/usr/bin/python /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/redis_cnf.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/" > /dev/null 2>&1 && sleep 0"']

==================================================================

/usr/bin/docker --tls --tlscert=/root/.sdc/docker/dbba/cert.pem --tlskey=/root/.sdc/docker/dbba/key.pem -H=tcp://109.105.30.13:2376 version

1. /usr/bin/docker --tls --tlscert=/root/.sdc/docker/dbba/cert.pem --tlskey=/root/.sdc/docker/dbba/key.pem -H=tcp://109.105.30.13:2376 exec -i demoredis_redis_1 /bin/sh -c "echo ~ && sleep 0"

2. /usr/bin/docker --tls --tlscert=/root/.sdc/docker/dbba/cert.pem --tlskey=/root/.sdc/docker/dbba/key.pem -H=tcp://109.105.30.13:2376 exec -i demoredis_redis_1 /bin/sh -c "( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423 `" && echo ansible-tmp-1506413465.61-222473804540423="` echo /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423 `" ) && sleep 0"

3. /usr/bin/docker --tls --tlscert=/root/.sdc/docker/dbba/cert.pem --tlskey=/root/.sdc/docker/dbba/key.pem -H=tcp://109.105.30.13:2376 cp /tmp/tmpN61P5I demoredis_redis_1:/root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/redis_cnf.py

4. /usr/bin/docker --tls --tlscert=/root/.sdc/docker/dbba/cert.pem --tlskey=/root/.sdc/docker/dbba/key.pem -H=tcp://109.105.30.13:2376 exec -i demoredis_redis_1 /bin/sh -c "chmod u+x /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/ /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/redis_cnf.py && sleep 0"

5. /usr/bin/docker --tls --tlscert=/root/.sdc/docker/dbba/cert.pem --tlskey=/root/.sdc/docker/dbba/key.pem -H=tcp://109.105.30.13:2376 exec -i demoredis_redis_1 /bin/sh -c "/usr/bin/python /root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/redis_cnf.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1506413465.61-222473804540423/" > /dev/null 2>&1 && sleep 0"

------------------------------------------------------------------------------------------------------------------------------------------------------------

open debug model:

/etc/ansible/ansible.cfg

[defaults]
debug=true

[colors]
debug = dark gray

----------------------------------------------------------------------------------------------------------------

remote_tmp     = root/.ansible/tmp

----------------------------------------------------------------------------------------------------------------