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