summaryrefslogtreecommitdiffstats
path: root/examples/collection
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
commit1faea9a6c75f33109e8f66b57b432fdad57b3f46 (patch)
tree4184ce38ac0cf9d5a46bbbae03c87be82927f12b /examples/collection
parentAdding upstream version 6.17.2. (diff)
downloadansible-lint-1faea9a6c75f33109e8f66b57b432fdad57b3f46.tar.xz
ansible-lint-1faea9a6c75f33109e8f66b57b432fdad57b3f46.zip
Adding upstream version 24.6.1.upstream/24.6.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/collection')
-rw-r--r--examples/collection/CHANGELOG.rst0
-rw-r--r--examples/collection/galaxy.yml17
-rw-r--r--examples/collection/meta/runtime.yml0
-rw-r--r--examples/collection/plugins/modules/alpha.py44
-rw-r--r--examples/collection/plugins/modules/deep/beta.py44
5 files changed, 0 insertions, 105 deletions
diff --git a/examples/collection/CHANGELOG.rst b/examples/collection/CHANGELOG.rst
deleted file mode 100644
index e69de29..0000000
--- a/examples/collection/CHANGELOG.rst
+++ /dev/null
diff --git a/examples/collection/galaxy.yml b/examples/collection/galaxy.yml
deleted file mode 100644
index d21efb2..0000000
--- a/examples/collection/galaxy.yml
+++ /dev/null
@@ -1,17 +0,0 @@
----
-name: foo
-namespace: bar
-version: 0.0.0 # noqa: galaxy[version-incorrect]
-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:
- - GPL # <-- invalid license value based on galaxy schema, a value like GPL-3.0-or-later would work
- - Apache-2.0
-repository: some-url
-tags: [networking, test_tag]
diff --git a/examples/collection/meta/runtime.yml b/examples/collection/meta/runtime.yml
deleted file mode 100644
index e69de29..0000000
--- a/examples/collection/meta/runtime.yml
+++ /dev/null
diff --git a/examples/collection/plugins/modules/alpha.py b/examples/collection/plugins/modules/alpha.py
deleted file mode 100644
index c806cad..0000000
--- a/examples/collection/plugins/modules/alpha.py
+++ /dev/null
@@ -1,44 +0,0 @@
-"""An ansible test module."""
-
-
-DOCUMENTATION = """
-module: mod_1
-author:
-- test
-short_description: This is a test module
-description:
-- This is a test module
-version_added: 1.0.0
-options:
- foo:
- description:
- - Dummy option I(foo)
- type: str
- bar:
- description:
- - Dummy option I(bar)
- default: candidate
- type: str
- choices:
- - candidate
- - running
- aliases:
- - bam
-notes:
-- This is a dummy module
-"""
-
-EXAMPLES = """
-- name: test task-1
- company_name.coll_1.mod_1:
- foo: some value
- bar: candidate
-"""
-
-RETURN = """
-baz:
- description: test return 1
- returned: success
- type: list
- sample: ['a','b']
-"""
diff --git a/examples/collection/plugins/modules/deep/beta.py b/examples/collection/plugins/modules/deep/beta.py
deleted file mode 100644
index ffd9ff8..0000000
--- a/examples/collection/plugins/modules/deep/beta.py
+++ /dev/null
@@ -1,44 +0,0 @@
-"""An ansible test module."""
-
-
-DOCUMENTATION = """
-module: mod_2
-author:
-- test
-short_description: This is a test module
-description:
-- This is a test module
-version_added: 1.0.0
-options:
- foo:
- description:
- - Dummy option I(foo)
- type: str
- bar:
- description:
- - Dummy option I(bar)
- default: candidate
- type: str
- choices:
- - candidate
- - running
- aliases:
- - bam
-notes:
-- This is a dummy module
-"""
-
-EXAMPLES = """
-- name: test task-1
- company_name.coll_1.mod_2:
- foo: some value
- bar: candidate
-"""
-
-RETURN = """
-baz:
- description: test return 1
- returned: success
- type: list
- sample: ['a','b']
-"""