Guest User

Untitled

a guest
Feb 12th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. fatal: [10.0.150.18]: FAILED! => {"failed": true, "msg": "Internal Error: this connection module does not support running commands via sudo"}
  2.  
  3. [root@localhost ]# cat ansible.cfg
  4. [defaults]
  5. log_path=/var/log/ansible.log
  6. ansible_winrm_operation_timeout_sec = 200
  7. ansible_winrm_read_timeout_sec = 500
  8.  
  9. [privilege_escalation]
  10. become=True
  11.  
  12. [root@localhost ]# ansible --version
  13. ansible 2.2.0.0
  14.  
  15. [root@localhost ]# cat hosts
  16. [localhost]
  17. localhost ansible_connection=local
  18.  
  19. [marcel]
  20. 10.0.150.18 ansible_user=Administrator ansible_password=xxxxxxxxxx ansible_port=5985 ansible_connection=winrm ansible_winrm_server_cert_validation=ignore ansible_winrm_transport=ntlm
Add Comment
Please, Sign In to add comment