2019-08-20 16:17:32 +02:00
|
|
|
[windows]
|
|
|
|
{% for host in vars.groups.windows %}
|
2019-03-08 01:38:02 +01:00
|
|
|
{{ host }} ansible_host={{ hostvars[host]['ansible_host'] }} ansible_user={{ hostvars[host]['ansible_user'] }}{{ ' ansible_ssh_private_key_file=' ~ hostvars[host]['ansible_ssh_private_key_file'] if (hostvars[host]['ansible_ssh_private_key_file']|default()) else '' }}
|
|
|
|
{% endfor %}
|
|
|
|
|
2019-08-20 16:17:32 +02:00
|
|
|
[windows:vars]
|
2019-03-08 01:38:02 +01:00
|
|
|
ansible_shell_type={{ test_shell_type }}
|
|
|
|
ansible_connection=ssh
|
|
|
|
ansible_port=22
|
|
|
|
# used to preserve the existing environment and not touch existing files
|
|
|
|
ansible_ssh_extra_args="-o UserKnownHostsFile=/dev/null"
|
|
|
|
ansible_ssh_host_key_checking=False
|