summaryrefslogtreecommitdiffstats
path: root/tests/integration/hosts.j2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/hosts.j2')
-rw-r--r--tests/integration/hosts.j221
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/integration/hosts.j2 b/tests/integration/hosts.j2
new file mode 100644
index 00000000..868a4e57
--- /dev/null
+++ b/tests/integration/hosts.j2
@@ -0,0 +1,21 @@
+[fuel-master]
+fuel-master
+
+[local]
+localhost ansible_connection=local
+
+[fuel-groups:children]
+{% for group in hosts|sort %}
+{{ group }}
+{% endfor %}
+
+[fuel-groups:vars]
+ansible_ssh_common_args=-F ./ssh.cfg
+
+{% for group in hosts|sort %}
+[{{ group }}]
+{% for host in hosts[group]|sort %}
+{{ host }}
+{% endfor %}
+
+{% endfor %}