Debian Codegraph @

test/integration/targets/connection_windows_ssh/test_connection.inventory.j2

raw
1 [windows]
2 {% for host in vars.groups.windows %}
3 {{ 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 '' }}
4 {% endfor %}
5
6 [windows:vars]
7 ansible_shell_type={{ test_shell_type }}
8 ansible_connection=ssh
9 ansible_port=22
10 # used to preserve the existing environment and not touch existing files
11 ansible_ssh_extra_args="-o UserKnownHostsFile=/dev/null"
12 ansible_ssh_host_key_checking=False