summaryrefslogtreecommitdiffstats
path: root/examples/meta
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/meta/changelogs/changelog.yaml2
-rw-r--r--examples/meta/galaxy.yml15
-rw-r--r--examples/meta/meta/runtime.yml0
-rw-r--r--examples/meta/runtime.yml3
-rw-r--r--examples/meta_runtime_version_checks/fail_0/meta/runtime.yml2
-rw-r--r--examples/meta_runtime_version_checks/fail_1/meta/runtime.yml2
-rw-r--r--examples/meta_runtime_version_checks/fail_2/meta/runtime.yml2
-rw-r--r--examples/meta_runtime_version_checks/pass/meta/runtime.yml2
8 files changed, 28 insertions, 0 deletions
diff --git a/examples/meta/changelogs/changelog.yaml b/examples/meta/changelogs/changelog.yaml
new file mode 100644
index 0000000..52e7f38
--- /dev/null
+++ b/examples/meta/changelogs/changelog.yaml
@@ -0,0 +1,2 @@
+---
+releases: {}
diff --git a/examples/meta/galaxy.yml b/examples/meta/galaxy.yml
new file mode 100644
index 0000000..b981f5c
--- /dev/null
+++ b/examples/meta/galaxy.yml
@@ -0,0 +1,15 @@
+---
+name: foo
+namespace: bar
+version: 0.2.3 # <-- that version is not valid, should be 1.0.0 or greater
+authors:
+ - John
+readme: ../README.md
+description: "..."
+dependencies:
+ other_namespace.collection1: ">=1.0.0"
+ other_namespace.collection2: ">=2.0.0,<3.0.0"
+ anderson55.my_collection: "*" # note: "*" selects the highest version available
+license:
+ - Apache-2.0
+tags: [networking, test_tag]
diff --git a/examples/meta/meta/runtime.yml b/examples/meta/meta/runtime.yml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/meta/meta/runtime.yml
diff --git a/examples/meta/runtime.yml b/examples/meta/runtime.yml
new file mode 100644
index 0000000..895980b
--- /dev/null
+++ b/examples/meta/runtime.yml
@@ -0,0 +1,3 @@
+---
+# https://docs.ansible.com/ansible/latest/dev_guide/developing_collections_structure.html
+requires_ansible: ">=2.10,<2.20"
diff --git a/examples/meta_runtime_version_checks/fail_0/meta/runtime.yml b/examples/meta_runtime_version_checks/fail_0/meta/runtime.yml
new file mode 100644
index 0000000..5ff8a8c
--- /dev/null
+++ b/examples/meta_runtime_version_checks/fail_0/meta/runtime.yml
@@ -0,0 +1,2 @@
+---
+requires_ansible: ">=2.20.0"
diff --git a/examples/meta_runtime_version_checks/fail_1/meta/runtime.yml b/examples/meta_runtime_version_checks/fail_1/meta/runtime.yml
new file mode 100644
index 0000000..eb5ade0
--- /dev/null
+++ b/examples/meta_runtime_version_checks/fail_1/meta/runtime.yml
@@ -0,0 +1,2 @@
+---
+requires_ansible: ">=2.9.0,<2.20"
diff --git a/examples/meta_runtime_version_checks/fail_2/meta/runtime.yml b/examples/meta_runtime_version_checks/fail_2/meta/runtime.yml
new file mode 100644
index 0000000..92db835
--- /dev/null
+++ b/examples/meta_runtime_version_checks/fail_2/meta/runtime.yml
@@ -0,0 +1,2 @@
+---
+requires_ansible: "2.13.0,<2.15"
diff --git a/examples/meta_runtime_version_checks/pass/meta/runtime.yml b/examples/meta_runtime_version_checks/pass/meta/runtime.yml
new file mode 100644
index 0000000..2b69758
--- /dev/null
+++ b/examples/meta_runtime_version_checks/pass/meta/runtime.yml
@@ -0,0 +1,2 @@
+---
+requires_ansible: ">=2.13.0,<2.15"