[root@awx cms-uat-deploy]# ansible-playbook -vvv -i hosts 
cms-wls-myfaces-example-simple20-deploy.yml
Using /root/ansibleProjects/cms-uat-deploy/ansible.cfg as config file

PLAYBOOK: cms-wls-myfaces-example-simple20-deploy.yml 
********************************************************************************************************************************************************
5 plays in cms-wls-myfaces-example-simple20-deploy.yml

PLAY [backup、undeploy @thinkAdminHosts] 
**********************************************************************************************************************************************************************

TASK [Gathering Facts] 
***************************************************************************************************************************************************************************************
Using module file 
/usr/lib/python2.7/site-packages/ansible/modules/system/setup.py
<10.1.24.6> ESTABLISH SSH CONNECTION FOR USER: oracle
<10.1.24.6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 
KbdInteractiveAuthentication=no -o 
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
-o PasswordAuthentication=no -o User=oracle -o ConnectTimeout=10 -o 
ControlPath=/root/.ansible/cp/497cd1f781 10.1.24.6 '/bin/sh -c '"'"'echo ~ 
&& sleep 0'"'"''
<10.1.24.6> (0, '/oracle\n', '')
<10.1.24.6> ESTABLISH SSH CONNECTION FOR USER: oracle
<10.1.24.6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 
KbdInteractiveAuthentication=no -o 
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
-o PasswordAuthentication=no -o User=oracle -o ConnectTimeout=10 -o 
ControlPath=/root/.ansible/cp/497cd1f781 10.1.24.6 '/bin/sh -c '"'"'( umask 
77 && mkdir -p "` echo 
/oracle/.ansible/tmp/ansible-tmp-1506328550.92-104560872959269 `" && echo 
ansible-tmp-1506328550.92-104560872959269="` echo 
/oracle/.ansible/tmp/ansible-tmp-1506328550.92-104560872959269 `" ) && 
sleep 0'"'"''
<10.1.24.6> (0, 
'ansible-tmp-1506328550.92-104560872959269=/oracle/.ansible/tmp/ansible-tmp-1506328550.92-104560872959269\n',
 
'')
<10.1.24.6> PUT /tmp/tmpKd8IRw TO 
/oracle/.ansible/tmp/ansible-tmp-1506328550.92-104560872959269/setup.py
<10.1.24.6> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o 
ControlPersist=60s -o KbdInteractiveAuthentication=no -o 
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
-o PasswordAuthentication=no -o User=oracle -o ConnectTimeout=10 -o 
ControlPath=/root/.ansible/cp/497cd1f781 '[10.1.24.6]'
<10.1.24.6> (0, 'sftp> put /tmp/tmpKd8IRw 
/oracle/.ansible/tmp/ansible-tmp-1506328550.92-104560872959269/setup.py\n', 
'')
<10.1.24.6> ESTABLISH SSH CONNECTION FOR USER: oracle
<10.1.24.6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 
KbdInteractiveAuthentication=no -o 
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
-o PasswordAuthentication=no -o User=oracle -o ConnectTimeout=10 -o 
ControlPath=/root/.ansible/cp/497cd1f781 10.1.24.6 '/bin/sh -c '"'"'chmod 
u+x /oracle/.ansible/tmp/ansible-tmp-1506328550.92-104560872959269/ 
/oracle/.ansible/tmp/ansible-tmp-1506328550.92-104560872959269/setup.py && 
sleep 0'"'"''
<10.1.24.6> (0, '', '')
<10.1.24.6> ESTABLISH SSH CONNECTION FOR USER: oracle
<10.1.24.6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 
KbdInteractiveAuthentication=no -o 
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
-o PasswordAuthentication=no -o User=oracle -o ConnectTimeout=10 -o 
ControlPath=/root/.ansible/cp/497cd1f781 -tt 10.1.24.6 '/bin/sh -c 
'"'"'LANG=Zh_CN.GB18030 LC_ALL=Zh_CN.GB18030 LC_MESSAGES=Zh_CN.GB18030 
/usr/bin/python 
/oracle/.ansible/tmp/ansible-tmp-1506328550.92-104560872959269/setup.py; rm 
-rf "/oracle/.ansible/tmp/ansible-tmp-1506328550.92-104560872959269/" > 
/dev/null 2>&1 && sleep 0'"'"''
<10.1.24.6> (0, 
'/tmp/ansible_1DQV_y/ansible_modlib.zip/ansible/module_utils/facts.py:1019: 
DeprecationWarning: object.__new__() takes no parameters\r\nTraceback (most 
recent call last):\r\n  File "/tmp/ansible_1DQV_y/ansible_module_setup.py", 
line 139, in <module>\r\n    main()\r\n  File 
"/tmp/ansible_1DQV_y/ansible_module_setup.py", line 131, in main\r\n    
data = get_all_facts(module)\r\n  File 
"/tmp/ansible_1DQV_y/ansible_modlib.zip/ansible/module_utils/facts.py", 
line 3934, in get_all_facts\r\n  File 
"/tmp/ansible_1DQV_y/ansible_modlib.zip/ansible/module_utils/facts.py", 
line 3877, in ansible_facts\r\n  File 
"/tmp/ansible_1DQV_y/ansible_modlib.zip/ansible/module_utils/facts.py", 
line 2080, in populate\r\n  File 
"/tmp/ansible_1DQV_y/ansible_modlib.zip/ansible/module_utils/facts.py", 
line 2104, in get_cpu_facts\r\nUnboundLocalError: local variable \'cpudev\' 
referenced before assignment\r\n', 'Shared connection to 10.1.24.6 
closed.\r\n')
fatal: [creditappa]: FAILED! => {
    "changed": false,
    "failed": true,
    "module_stderr": "Shared connection to 10.1.24.6 closed.\r\n",
    "module_stdout": 
"/tmp/ansible_1DQV_y/ansible_modlib.zip/ansible/module_utils/facts.py:1019: 
DeprecationWarning: object.__new__() takes no parameters\r\nTraceback (most 
recent call last):\r\n  File 
\"/tmp/ansible_1DQV_y/ansible_module_setup.py\", line 139, in <module>\r\n  
  main()\r\n  File \"/tmp/ansible_1DQV_y/ansible_module_setup.py\", line 
131, in main\r\n    data = get_all_facts(module)\r\n  File 
\"/tmp/ansible_1DQV_y/ansible_modlib.zip/ansible/module_utils/facts.py\", 
line 3934, in get_all_facts\r\n  File 
\"/tmp/ansible_1DQV_y/ansible_modlib.zip/ansible/module_utils/facts.py\", 
line 3877, in ansible_facts\r\n  File 
\"/tmp/ansible_1DQV_y/ansible_modlib.zip/ansible/module_utils/facts.py\", 
line 2080, in populate\r\n  File 
\"/tmp/ansible_1DQV_y/ansible_modlib.zip/ansible/module_utils/facts.py\", 
line 2104, in get_cpu_facts\r\nUnboundLocalError: local variable 'cpudev' 
referenced before assignment\r\n",
    "msg": "MODULE FAILURE",
    "rc": 0
}
to retry, use: --limit 
@/root/ansibleProjects/cms-uat-deploy/cms-wls-myfaces-example-simple20-deploy.retry

PLAY RECAP 
***************************************************************************************************************************************************************************************************
cccadtappa                 : ok=0    changed=0    unreachable=0    failed=1



Control Machine
CentOS Linux release 7.3.1611 (Core)
Python 2.7.5
ansible 2.3.1.0

Managed Node
aix 6100-09-08-1642
Python 2.6.2



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6d459eb6-bcbf-4775-8f68-18e783aa0370%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to