Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:Usersname.domain> Winrm quickconfig
- WinRM service is already running on this machine.
- WinRM is already set up for remote management on this computer.
- # klist
- Ticket cache: FILE:/tmp/krb5cc_0
- Default principal: user_name@domain.local
- Valid starting Expires Service principal
- 09/19/2016 10:02:18 09/19/2016 20:02:18 krbtgt/DOMAIN.LOCAL@DOMAIN.LOCAL
- renew until 09/26/2016 10:02:12
- /etc/ansible/hosts
- [local]
- 127.0.0.1
- [windows]
- ip address
- [windows:vars]
- ansible_user= name@Domain.com
- ansible_password= password
- ansible_port= 5985
- ansible_connection= winrm
- # ansible windows -m win_ping
- ip_address | UNREACHABLE! => {
- "changed": false,
- "msg": "kerberos: requested auth method is kerberos, but requests_kerberos is not installed, ssl: HTTPSConnectionPool(host='ip_address', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x3585d90>, 'Connection to ip_address timed out. (connect timeout=30)'))",
- "unreachable": true
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement