summaryrefslogtreecommitdiffstats
path: root/test/roles
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 00:24:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 00:24:37 +0000
commit1022b2cebe73db426241c2f420d4ee9f6f3c1bed (patch)
treea5c38ccfaa66e8a52767dec01d3598b67a7422a8 /test/roles
parentInitial commit. (diff)
downloadpython-ansible-compat-1022b2cebe73db426241c2f420d4ee9f6f3c1bed.tar.xz
python-ansible-compat-1022b2cebe73db426241c2f420d4ee9f6f3c1bed.zip
Adding upstream version 4.1.11.upstream/4.1.11
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/roles')
-rw-r--r--test/roles/acme.missing_deps/meta/main.yml8
-rw-r--r--test/roles/acme.missing_deps/requirements.yml2
-rw-r--r--test/roles/acme.sample2/meta/main.yml16
-rw-r--r--test/roles/ansible-role-sample/meta/main.yml16
-rw-r--r--test/roles/sample3/meta/main.yml16
-rw-r--r--test/roles/sample4/meta/main.yml16
6 files changed, 74 insertions, 0 deletions
diff --git a/test/roles/acme.missing_deps/meta/main.yml b/test/roles/acme.missing_deps/meta/main.yml
new file mode 100644
index 0000000..69b0417
--- /dev/null
+++ b/test/roles/acme.missing_deps/meta/main.yml
@@ -0,0 +1,8 @@
+---
+galaxy_info:
+ name: missing_deps
+ namespace: acme
+ description: foo
+ license: GPL
+ min_ansible_version: "2.10"
+ platforms: []
diff --git a/test/roles/acme.missing_deps/requirements.yml b/test/roles/acme.missing_deps/requirements.yml
new file mode 100644
index 0000000..53c5937
--- /dev/null
+++ b/test/roles/acme.missing_deps/requirements.yml
@@ -0,0 +1,2 @@
+collections:
+ - foo.bar # collection that does not exist, so we can test offline mode
diff --git a/test/roles/acme.sample2/meta/main.yml b/test/roles/acme.sample2/meta/main.yml
new file mode 100644
index 0000000..b682a84
--- /dev/null
+++ b/test/roles/acme.sample2/meta/main.yml
@@ -0,0 +1,16 @@
+---
+dependencies: []
+
+galaxy_info:
+ # role_name is missing in order to test deduction from folder name
+ author: acme
+ description: ACME sample role
+ company: "ACME LTD"
+ license: MIT
+ min_ansible_version: "2.9"
+ platforms:
+ - name: Debian
+ versions:
+ - any
+ galaxy_tags:
+ - samples
diff --git a/test/roles/ansible-role-sample/meta/main.yml b/test/roles/ansible-role-sample/meta/main.yml
new file mode 100644
index 0000000..bfddeb7
--- /dev/null
+++ b/test/roles/ansible-role-sample/meta/main.yml
@@ -0,0 +1,16 @@
+---
+dependencies: []
+
+galaxy_info:
+ role_name: sample
+ author: acme
+ description: ACME sample role
+ company: "ACME LTD"
+ license: MIT
+ min_ansible_version: "2.9"
+ platforms:
+ - name: Debian
+ versions:
+ - any
+ galaxy_tags:
+ - samples
diff --git a/test/roles/sample3/meta/main.yml b/test/roles/sample3/meta/main.yml
new file mode 100644
index 0000000..f479788
--- /dev/null
+++ b/test/roles/sample3/meta/main.yml
@@ -0,0 +1,16 @@
+---
+dependencies: []
+
+galaxy_info:
+ # role_name is missing in order to test deduction from folder name
+ author: acme
+ description: ACME samble role
+ company: "ACME LTD"
+ license: MIT
+ min_ansible_version: "2.9"
+ platforms:
+ - name: Debian
+ versions:
+ - any
+ galaxy_tags:
+ - samples
diff --git a/test/roles/sample4/meta/main.yml b/test/roles/sample4/meta/main.yml
new file mode 100644
index 0000000..f479788
--- /dev/null
+++ b/test/roles/sample4/meta/main.yml
@@ -0,0 +1,16 @@
+---
+dependencies: []
+
+galaxy_info:
+ # role_name is missing in order to test deduction from folder name
+ author: acme
+ description: ACME samble role
+ company: "ACME LTD"
+ license: MIT
+ min_ansible_version: "2.9"
+ platforms:
+ - name: Debian
+ versions:
+ - any
+ galaxy_tags:
+ - samples