Skip to content

Instantly share code, notes, and snippets.

@robderickson
Created December 15, 2019 02:04
Show Gist options
  • Save robderickson/01e3b0d328b7a4985383e67cbe9801e4 to your computer and use it in GitHub Desktop.
Save robderickson/01e3b0d328b7a4985383e67cbe9801e4 to your computer and use it in GitHub Desktop.
Ansible inventory with vars
all:
children:
web:
hosts:
192.168.56.3:
vars:
# These credentials are being "rejected by the server"; Can do interactive login with same credentials
ansible_user: vagrant
ansible_password: vagrant
ansible_port: 5985
ansible_connection: winrm
ansible_winrm_cert_validation: ignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment