Advertisement
Guest User

Untitled

a guest
Sep 27th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. (ansible)[ansible@ansible_host dv-ansible]$ ansible-playbook playbooks/win/win_join_domain.yaml -i inventory/production/ -l hostname --ask-pass -vvvvv
  2. ansible-playbook 2.4.0 (detached HEAD 31d2eb0828) last updated 2017/09/06 13:47:34 (GMT -600)
  3. config file = /opt/ansible/dv-ansible/ansible.cfg
  4. configured module search path = [u'/opt/ansible/dv-ansible/library']
  5. ansible python module location = /opt/ansible/source/lib/ansible
  6. executable location = /opt/ansible/source/bin/ansible-playbook
  7. python version = 2.7.9 (default, Nov 18 2015, 13:07:23) [GCC 4.4.7 20120313 (Red Hat 4.4.7-16)]
  8. Using /opt/ansible/dv-ansible/ansible.cfg as config file
  9. SSH password:
  10. setting up inventory plugins
  11. Parsed /opt/ansible/dv-ansible/inventory/production/generated inventory source with ini plugin
  12.  
  13. File "/opt/ansible/source/lib/ansible/plugins/inventory/ini.py", line 143, in parse
  14. self._parse(path, data)
  15. File "/opt/ansible/source/lib/ansible/plugins/inventory/ini.py", line 259, in _parse
  16. raise AnsibleError("%s:%d: Section [%s:children] includes undefined group: %s" % (path, decl['line'], decl['parents'].pop(), decl['name']))
  17.  
  18. [WARNING]: Unable to parse /opt/ansible/dv-ansible/inventory/production/production as an inventory source
  19.  
  20. Loading callback plugin default of type stdout, v2.0 from /opt/ansible/source/lib/ansible/plugins/callback/__init__.pyc
  21.  
  22. PLAYBOOK: win_join_domain.yaml ************************************************************************************************************************************************************************************************************
  23. 1 plays in playbooks/win/win_join_domain.yaml
  24.  
  25. PLAY [hostname] ************************************************************************************************************
  26.  
  27. TASK [Gathering Facts] ********************************************************************************************************************************************************************************************************************
  28. Using module file /opt/ansible/source/lib/ansible/modules/windows/setup.ps1
  29. <IP_REDACTED> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5985 TO IP_REDACTED
  30. <IP_REDACTED> WINRM CONNECT: transport=plaintext endpoint=http://IP_REDACTED:5985/wsman
  31. <IP_REDACTED> WINRM CONNECTION ERROR: the specified credentials were rejected by the server
  32. Traceback (most recent call last):
  33. File "/opt/ansible/source/lib/ansible/plugins/connection/winrm.py", line 209, in _winrm_connect
  34. self.shell_id = protocol.open_shell(codepage=65001) # UTF-8
  35. File "/opt/ansible/venvs/ansible/lib/python2.7/site-packages/winrm/protocol.py", line 132, in open_shell
  36. res = self.send_message(xmltodict.unparse(req))
  37. File "/opt/ansible/venvs/ansible/lib/python2.7/site-packages/winrm/protocol.py", line 207, in send_message
  38. return self.transport.send_message(message)
  39. File "/opt/ansible/venvs/ansible/lib/python2.7/site-packages/winrm/transport.py", line 190, in send_message
  40. raise InvalidCredentialsError("the specified credentials were rejected by the server")
  41. InvalidCredentialsError: the specified credentials were rejected by the server
  42.  
  43. fatal: [hostname]: UNREACHABLE! => {
  44. "changed": false,
  45. "msg": "plaintext: the specified credentials were rejected by the server",
  46. "unreachable": true
  47. }
  48. to retry, use: --limit @/opt/ansible/.ansible-retry/win_join_domain.retry
  49.  
  50. PLAY RECAP ********************************************************************************************************************************************************************************************************************************
  51. hostname : ok=0 changed=0 unreachable=1 failed=0
  52.  
  53. (ansible)[ansible@ansible_host dv-ansible]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement