summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/inventory_constructed/invs
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/inventory_constructed/invs')
-rw-r--r--test/integration/targets/inventory_constructed/invs/1/group_vars/stuff.yml1
-rw-r--r--test/integration/targets/inventory_constructed/invs/1/host_vars/testing.yml1
-rw-r--r--test/integration/targets/inventory_constructed/invs/1/one.yml5
-rw-r--r--test/integration/targets/inventory_constructed/invs/2/constructed.yml7
4 files changed, 14 insertions, 0 deletions
diff --git a/test/integration/targets/inventory_constructed/invs/1/group_vars/stuff.yml b/test/integration/targets/inventory_constructed/invs/1/group_vars/stuff.yml
new file mode 100644
index 0000000..a67b90f
--- /dev/null
+++ b/test/integration/targets/inventory_constructed/invs/1/group_vars/stuff.yml
@@ -0,0 +1 @@
+iamdefined: group4testing
diff --git a/test/integration/targets/inventory_constructed/invs/1/host_vars/testing.yml b/test/integration/targets/inventory_constructed/invs/1/host_vars/testing.yml
new file mode 100644
index 0000000..0ffe382
--- /dev/null
+++ b/test/integration/targets/inventory_constructed/invs/1/host_vars/testing.yml
@@ -0,0 +1 @@
+hola: lola
diff --git a/test/integration/targets/inventory_constructed/invs/1/one.yml b/test/integration/targets/inventory_constructed/invs/1/one.yml
new file mode 100644
index 0000000..ad5a5e0
--- /dev/null
+++ b/test/integration/targets/inventory_constructed/invs/1/one.yml
@@ -0,0 +1,5 @@
+all:
+ children:
+ stuff:
+ hosts:
+ testing:
diff --git a/test/integration/targets/inventory_constructed/invs/2/constructed.yml b/test/integration/targets/inventory_constructed/invs/2/constructed.yml
new file mode 100644
index 0000000..ca26e2c
--- /dev/null
+++ b/test/integration/targets/inventory_constructed/invs/2/constructed.yml
@@ -0,0 +1,7 @@
+plugin: ansible.builtin.constructed
+use_vars_plugins: true
+keyed_groups:
+ - key: iamdefined
+ prefix: c
+ - key: hola
+ prefix: c