Last active
February 25, 2021 21:12
-
-
Save smartaquarius10/a6df3f9919b1b20d15e653be9add2f54 to your computer and use it in GitHub Desktop.
Ansible Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[defaults] | |
inventory = configuration/hosts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Keep this file in the directory specified in ansible.cfg | |
[win] | |
# specify ip address of the machines per line | |
[win:vars] | |
ansible_user='<userid>@<complete LDAP domain eg. xyz.com>' | |
#ansible_password=''. Either pass pasword here or use -k option through cli | |
ansible_connection=winrm | |
ansible_port=5985 | |
ansible_winrm_transport=ntlm # We can use kerberos also | |
#ansible_winrm_server_cert_validation=ignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment