summaryrefslogtreecommitdiff
path: root/test/integration/inventory
diff options
context:
space:
mode:
authorMichael DeHaan <michael@ansibleworks.com>2014-02-20 19:11:15 -0500
committerMichael DeHaan <michael@ansibleworks.com>2014-02-20 19:11:15 -0500
commit2177b773c8d460f67582aa7fab1af08647816a79 (patch)
tree6b7e732bc471d6efe8689c142929d4ba1043e6a4 /test/integration/inventory
parentde600f004018ec9ce81971a0d6fd55decacbb3f5 (diff)
downloadansible-2177b773c8d460f67582aa7fab1af08647816a79.tar.gz
Rename tests to test, use old directory name.
Diffstat (limited to 'test/integration/inventory')
-rw-r--r--test/integration/inventory27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/integration/inventory b/test/integration/inventory
new file mode 100644
index 0000000000..65fc130a23
--- /dev/null
+++ b/test/integration/inventory
@@ -0,0 +1,27 @@
+[local]
+testhost ansible_ssh_host=127.0.0.1 ansible_connection=local
+testhost2 ansible_ssh_host=127.0.0.1 ansible_connection=local
+
+# the following inline declarations are accompanied
+# by (preferred) group_vars/ and host_vars/ variables
+# and are used in testing of variable precedence
+
+[arbitrary_parent:children]
+local
+
+[local:vars]
+parent_var=6000
+groups_tree_var=5000
+
+[arbitrary_parent:vars]
+groups_tree_var=4000
+overridden_in_parent=1000
+
+[arbitrary_grandparent:children]
+arbitrary_parent
+
+[arbitrary_grandparent:vars]
+groups_tree_var=3000
+grandparent_var=2000
+overridden_in_parent=2000
+