summaryrefslogtreecommitdiffstats
path: root/examples/test_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/test_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/test_collection')
-rw-r--r--examples/test_collection/README.md3
-rw-r--r--examples/test_collection/galaxy.yml67
-rw-r--r--examples/test_collection/roles/my_role/tasks/main.yml13
-rw-r--r--examples/test_collection/roles/my_role2/tasks/main.yml4
4 files changed, 0 insertions, 87 deletions
diff --git a/examples/test_collection/README.md b/examples/test_collection/README.md
deleted file mode 100644
index b4aaea4..0000000
--- a/examples/test_collection/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Ansible Collection - example.test_collection
-
-Documentation for the collection.
diff --git a/examples/test_collection/galaxy.yml b/examples/test_collection/galaxy.yml
deleted file mode 100644
index 633719b..0000000
--- a/examples/test_collection/galaxy.yml
+++ /dev/null
@@ -1,67 +0,0 @@
----
-### REQUIRED
-# The namespace of the collection. This can be a company/brand/organization or product namespace under which all
-# content lives. May only contain alphanumeric lowercase characters and underscores. Namespaces cannot start with
-# underscores or numbers and cannot contain consecutive underscores
-namespace: examples
-
-# The name of the collection. Has the same character restrictions as 'namespace'
-name: test_collection
-
-# The version of the collection. Must be compatible with semantic versioning
-version: 1.0.0
-
-# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
-readme: README.md
-
-# A list of the collection's content authors. Can be just the name or in the format 'Full Name <email> (url)
-# @nicks:irc/im.site#channel'
-authors:
- - your name <example@domain.com>
-
-### OPTIONAL but strongly recommended
-# A short summary description of the collection
-description: your collection description
-
-# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only
-# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file'
-license:
- - GPL-2.0-or-later
-
-# The path to the license file for the collection. This path is relative to the root of the collection. This key is
-# mutually exclusive with 'license'
-license_file: ""
-
-# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character
-# requirements as 'namespace' and 'name'
-tags: []
-
-# Collections that this collection requires to be installed for it to be usable. The key of the dict is the
-# collection label 'namespace.name'. The value is a version range
-# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
-# range specifiers can be set and are separated by ','
-dependencies: {}
-
-# The URL of the originating SCM repository
-repository: http://example.com/repository
-
-# The URL to any online docs
-documentation: http://docs.example.com
-
-# The URL to the homepage of the collection/project
-homepage: http://example.com
-
-# The URL to the collection issue tracker
-issues: http://example.com/issue/tracker
-
-# A list of file glob-like patterns used to filter any files or directories that should not be included in the build
-# artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This
-# uses 'fnmatch' to match the files or directories. Some directories and files like 'galaxy.yml', '*.pyc', '*.retry',
-# and '.git' are always filtered. Mutually exclusive with 'manifest'
-build_ignore: []
-# A dict controlling use of manifest directives used in building the collection artifact. The key 'directives' is a
-# list of MANIFEST.in style
-# L(directives,https://packaging.python.org/en/latest/guides/using-manifest-in/#manifest-in-commands). The key
-# 'omit_default_directives' is a boolean that controls whether the default directives are used. Mutually exclusive
-# with 'build_ignore'
-# manifest: null
diff --git a/examples/test_collection/roles/my_role/tasks/main.yml b/examples/test_collection/roles/my_role/tasks/main.yml
deleted file mode 100644
index 784a814..0000000
--- a/examples/test_collection/roles/my_role/tasks/main.yml
+++ /dev/null
@@ -1,13 +0,0 @@
----
-- name: Task
- ansible.builtin.include_role:
- name: example.test_collection.my_role2
- vars:
- my_role2_foo: something
-
-- name: Task 2
- # this task should NOT trigger var-naming[no-role-prefix]
- vars:
- foo: bar
- ansible.builtin.debug:
- msg: "{{ foo }}"
diff --git a/examples/test_collection/roles/my_role2/tasks/main.yml b/examples/test_collection/roles/my_role2/tasks/main.yml
deleted file mode 100644
index 27954a5..0000000
--- a/examples/test_collection/roles/my_role2/tasks/main.yml
+++ /dev/null
@@ -1,4 +0,0 @@
----
-- name: Task
- ansible.builtin.debug:
- msg: "{{ my_role2_foo }}"