虽然之前没有出现任何错误,但Ansible失败并失败=。
如何查找/调试导致错误的原因?
ansible-playbook -u root -i 'apitest-centos7.xxxx.loc,' playbook_node.yml
PLAY [all] *********************************************************************
TASK [Einfügen von $XXXXXXX_CONFIGURATION in bashrc] ****************************
ok: [apitest-centos7.xxxxxxx.loc]
TASK [install python-xml] ******************************************************
ok: [apitest-centos7.xxxxxxx.loc]
TASK [add xxxxxxx rpmrepo] ******************************************************
ok: [apitest-centos7.xxxxxxx.loc]
PLAY [all] *********************************************************************
TASK [install software] ********************************************************
ok: [apitest-centos7.xxxxxxx.loc] => (item=[u'xxxx', u'xxxx', u'xxxx', u'xxxx', u'xxxx', u'xxxx', u'xxxx', u'xxxx', u'xxxx', u'xxxx', u'xxxx', u'xxxx', u'xxxx', u'xxxx'])
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/home/xxxx/Projekte/testing/boxes/playbook_node.retry
PLAY RECAP *********************************************************************
apitest-centos7.xxxx.loc : ok=3 changed=0 unreachable=0 failed=1