summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/connection_winrm/test_connection.inventory.j2
blob: 7c4f3dc9e61daeba4423ade093f0b9957dd0fd56 (plain)
1
2
3
4
5
6
7
8
9
10
[windows]
{% for host in vars.groups.windows %}
{{ host }}  ansible_host={{ hostvars[host]['ansible_host'] }} ansible_port={{ hostvars[host]['ansible_port'] }} ansible_user={{ hostvars[host]['ansible_user'] }} ansible_password={{ hostvars[host]['ansible_password'] }}
{% endfor %}

[windows:vars]
ansible_connection=winrm
# we don't know if we're using an encrypted connection or not, so we'll use message encryption
ansible_winrm_transport=ntlm
ansible_winrm_server_cert_validation=ignore