ansible/test/integration/targets/connection_psrp/test_connection.inventory.j2
Matt Clay 92380d7050
Update ansible-test --windows inventory creation. (#60911)
Host specific settings are created as part of the generated inventory instead of using a host_vars directory.

Also update connection tests to work properly with the generated inventory changes.
2019-08-20 07:17:32 -07:00

9 lines
385 B
Django/Jinja

[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=psrp
ansible_psrp_auth=negotiate
ansible_psrp_cert_validation=ignore