diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/reqs_broken/requirements.yml | 4 | ||||
-rw-r--r-- | examples/reqs_v1/requirements.yml | 4 | ||||
-rw-r--r-- | examples/reqs_v2/community-molecule-0.1.0.tar.gz | bin | 0 -> 7615 bytes | |||
-rw-r--r-- | examples/reqs_v2/requirements.yml | 21 |
4 files changed, 29 insertions, 0 deletions
diff --git a/examples/reqs_broken/requirements.yml b/examples/reqs_broken/requirements.yml new file mode 100644 index 0000000..d55cb09 --- /dev/null +++ b/examples/reqs_broken/requirements.yml @@ -0,0 +1,4 @@ +roles: [] +collections: [] +integration_tests_dependencies: [] # <-- invalid key +unit_tests_dependencies: [] # <-- invalid key diff --git a/examples/reqs_v1/requirements.yml b/examples/reqs_v1/requirements.yml new file mode 100644 index 0000000..18693b8 --- /dev/null +++ b/examples/reqs_v1/requirements.yml @@ -0,0 +1,4 @@ +# v1 requirements test file +# ansible-galaxy role install -r requirements.yml -p roles +- src: git+https://github.com/geerlingguy/ansible-role-docker.git + name: geerlingguy.mysql diff --git a/examples/reqs_v2/community-molecule-0.1.0.tar.gz b/examples/reqs_v2/community-molecule-0.1.0.tar.gz Binary files differnew file mode 100644 index 0000000..b5af2f0 --- /dev/null +++ b/examples/reqs_v2/community-molecule-0.1.0.tar.gz diff --git a/examples/reqs_v2/requirements.yml b/examples/reqs_v2/requirements.yml new file mode 100644 index 0000000..190dc39 --- /dev/null +++ b/examples/reqs_v2/requirements.yml @@ -0,0 +1,21 @@ +--- +# For local install run: +# ansible-galaxy role install -r requirements.yml -p roles +# ansible-galaxy collection install -r requirements.yml -p collections +# +# Current test file avoids using galaxy server on purpose, for resiliency +roles: + - src: git+https://github.com/geerlingguy/ansible-role-docker.git + name: geerlingguy.mysql +collections: + - name: community-molecule-0.1.0.tar.gz + # Also needed for testing purposes as this should trigger addition of --pre + # argument as this is required due to + # https://github.com/ansible/ansible-lint/issues/3686 + # https://github.com/ansible/ansible/issues/79109 + - name: https://github.com/ansible-collections/amazon.aws.git + type: git + version: main + - name: https://github.com/ansible-collections/community.aws.git + type: git + version: main |