Skip to content

Commit 9dec386

Browse files
committed
more
1 parent 66c9acf commit 9dec386

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/inventory.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ all:
66
"ansible_default_ipv4", "ansible_default_ipv6", "ansible_host",
77
"ansible_port", "ansible_ssh_common_args", "ansible_ssh_pass",
88
"ansible_ssh_private_key_file","ansible_user"] %}
9+
{% if key in hostvars[host] %}
910
{{ key }}: {{ hostvars[host][key] }}
11+
{% endif %}
1012
{% endfor %}
1113
{% endfor %}

0 commit comments

Comments
 (0)