Saturday, 20 June 2020

Ansible inventory to connect Windows host



[windows]
<IP>

[windows_2]

ansible_user=<domain\username>
ansible_password=<password>
ansible_port=<portno>
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore
#ansible_connection=winrm
#ansible_winrm_transport=kerberos
ansible_winrm_transport=ntlm

No comments:

Post a Comment

Git

1 git add ↳ It lets you add changes from the working directory into the staging area 2 git commit ↳ It lets you save a snapshot of currently...