• 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

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

  • 相关阅读:
    C#:String.Format数字格式化输出
    System.BadImageFormatException : 未能加载文件或程序集“Medici.PaymentRecover, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。试图加载格式不正确的程序。
    How to debug windows service
    中文字符utf-8编码原则
    获取当前文件的绝对路径
    finfo_file
    usort 函数
    snmp 简单网管协议
    $this
    prinft he sprintf
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/7597933.html
Copyright © 2020-2023  润新知