zoukankan      html  css  js  c++  java
  • ansible debug

    <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

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

  • 相关阅读:
    访问静态文件时, 为NetCore项目添加MIME类型支持
    Ant design pro formItem validator报警告 `callback` is deprecated. Please return a promise instead.
    .NET Core 自定义过滤器 AllowAnonymous 失效问题
    前端获取二进制流下载文件并解决无法获header问题,Content-Disposition
    cefSharp通过js操控页面,含跨域操控
    C#中Application.StartupPath和System.Environment.CurrentDirectory的区别
    C# XML配置文件读写类(用于程序配置保存)
    C#爬虫使用代理刷文章浏览量
    c#批量抓取免费代理并验证有效性
    C# 代理HTTP请求
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/7597933.html
Copyright © 2011-2022 走看看