@ -1,5 +1,5 @@
---
- name : create test collection install directory - {{ test_ name }}
- name : create test collection install directory - {{ test_ id }}
file:
path : '{{ galaxy_dir }}/ansible_collections'
state : directory
@ -36,24 +36,24 @@
path : '{{ galaxy_dir }}/ansible_collections/namespace1'
state : absent
- name : install simple collection with implicit path - {{ test_ name }}
- name : install simple collection with implicit path - {{ test_ id }}
command : ansible-galaxy collection install namespace1.name1 -s '{{ test_name }}' {{ galaxy_verbosity }}
environment:
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
register : install_normal
- name : get installed files of install simple collection with implicit path - {{ test_ name }}
- name : get installed files of install simple collection with implicit path - {{ test_ id }}
find:
path : '{{ galaxy_dir }}/ansible_collections/namespace1/name1'
file_type : file
register : install_normal_files
- name : get the manifest of install simple collection with implicit path - {{ test_ name }}
- name : get the manifest of install simple collection with implicit path - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/namespace1/name1/MANIFEST.json'
register : install_normal_manifest
- name : assert install simple collection with implicit path - {{ test_ name }}
- name : assert install simple collection with implicit path - {{ test_ id }}
assert:
that:
- '"Installing ' 'namespace1.name1:1.0.9' ' to" in install_normal.stdout'
@ -63,43 +63,43 @@
- install_normal_files.files[2].path | basename in ['MANIFEST.json', 'FILES.json', 'README.md']
- (install_normal_manifest.content | b64decode | from_json).collection_info.version == '1.0.9'
- name : install existing without --force - {{ test_ name }}
- name : install existing without --force - {{ test_ id }}
command : ansible-galaxy collection install namespace1.name1 -s '{{ test_name }}' {{ galaxy_verbosity }}
environment:
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
register : install_existing_no_force
- name : assert install existing without --force - {{ test_ name }}
- name : assert install existing without --force - {{ test_ id }}
assert:
that:
- '"Nothing to do. All requested collections are already installed" in install_existing_no_force.stdout'
- name : install existing with --force - {{ test_ name }}
- name : install existing with --force - {{ test_ id }}
command : ansible-galaxy collection install namespace1.name1 -s '{{ test_name }}' --force {{ galaxy_verbosity }}
environment:
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
register : install_existing_force
- name : assert install existing with --force - {{ test_ name }}
- name : assert install existing with --force - {{ test_ id }}
assert:
that:
- '"Installing ' 'namespace1.name1:1.0.9' ' to" in install_existing_force.stdout'
- name : remove test installed collection - {{ test_ name }}
- name : remove test installed collection - {{ test_ id }}
file:
path : '{{ galaxy_dir }}/ansible_collections/namespace1'
state : absent
- name : install pre-release as explicit version to custom dir - {{ test_ name }}
- name : install pre-release as explicit version to custom dir - {{ test_ id }}
command : ansible-galaxy collection install 'namespace1.name1:1.1.0-beta.1' -s '{{ test_name }}' -p '{{ galaxy_dir }}/ansible_collections' {{ galaxy_verbosity }}
register : install_prerelease
- name : get result of install pre-release as explicit version to custom dir - {{ test_ name }}
- name : get result of install pre-release as explicit version to custom dir - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/namespace1/name1/MANIFEST.json'
register : install_prerelease_actual
- name : assert install pre-release as explicit version to custom dir - {{ test_ name }}
- name : assert install pre-release as explicit version to custom dir - {{ test_ id }}
assert:
that:
- '"Installing ' 'namespace1.name1:1.1.0-beta.1' ' to" in install_prerelease.stdout'
@ -110,22 +110,22 @@
path : '{{ galaxy_dir }}/ansible_collections/namespace1/name1'
state : absent
- name : install pre-release version with --pre to custom dir - {{ test_ name }}
- name : install pre-release version with --pre to custom dir - {{ test_ id }}
command : ansible-galaxy collection install --pre 'namespace1.name1' -s '{{ test_name }}' -p '{{ galaxy_dir }}/ansible_collections' {{ galaxy_verbosity }}
register : install_prerelease
- name : get result of install pre-release version with --pre to custom dir - {{ test_ name }}
- name : get result of install pre-release version with --pre to custom dir - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/namespace1/name1/MANIFEST.json'
register : install_prerelease_actual
- name : assert install pre-release version with --pre to custom dir - {{ test_ name }}
- name : assert install pre-release version with --pre to custom dir - {{ test_ id }}
assert:
that:
- '"Installing ' 'namespace1.name1:1.1.0-beta.1' ' to" in install_prerelease.stdout'
- (install_prerelease_actual.content | b64decode | from_json).collection_info.version == '1.1.0-beta.1'
- name : install multiple collections with dependencies - {{ test_ name }}
- name : install multiple collections with dependencies - {{ test_ id }}
command : ansible-galaxy collection install parent_dep.parent_collection:1.0.0 namespace2.name -s {{ test_name }} {{ galaxy_verbosity }}
args:
chdir : '{{ galaxy_dir }}/ansible_collections'
@ -134,7 +134,7 @@
ANSIBLE_CONFIG : '{{ galaxy_dir }}/ansible.cfg'
register : install_multiple_with_dep
- name : get result of install multiple collections with dependencies - {{ test_ name }}
- name : get result of install multiple collections with dependencies - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/{{ collection.namespace }}/{{ collection.name }}/MANIFEST.json'
register : install_multiple_with_dep_actual
@ -150,7 +150,7 @@
- namespace : child_dep
name : child_dep2
- name : assert install multiple collections with dependencies - {{ test_ name }}
- name : assert install multiple collections with dependencies - {{ test_ id }}
assert:
that:
- (install_multiple_with_dep_actual.results[0].content | b64decode | from_json).collection_info.version == '1.0.0'
@ -158,7 +158,7 @@
- (install_multiple_with_dep_actual.results[2].content | b64decode | from_json).collection_info.version == '0.9.9'
- (install_multiple_with_dep_actual.results[3].content | b64decode | from_json).collection_info.version == '1.2.2'
- name : expect failure with dep resolution failure
- name : expect failure with dep resolution failure - {{ test_id }}
command : ansible-galaxy collection install fail_namespace.fail_collection -s {{ test_name }} {{ galaxy_verbosity }}
register : fail_dep_mismatch
failed_when:
@ -173,23 +173,23 @@
force_basic_auth : true
register : artifact_url_response
- name : download a collection for an offline install - {{ test_ name }}
- name : download a collection for an offline install - {{ test_ id }}
get_url:
url : '{{ artifact_url_response.json.download_url }}'
dest : '{{ galaxy_dir }}/namespace3.tar.gz'
- name : install a collection from a tarball - {{ test_ name }}
- name : install a collection from a tarball - {{ test_ id }}
command : ansible-galaxy collection install '{{ galaxy_dir }}/namespace3.tar.gz' {{ galaxy_verbosity }}
register : install_tarball
environment:
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
- name : get result of install collection from a tarball - {{ test_ name }}
- name : get result of install collection from a tarball - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/namespace3/name/MANIFEST.json'
register : install_tarball_actual
- name : assert install a collection from a tarball - {{ test_ name }}
- name : assert install a collection from a tarball - {{ test_ id }}
assert:
that:
- '"Installing ' 'namespace3.name:1.0.0' ' to" in install_tarball.stdout'
@ -270,22 +270,22 @@
- "{{ galaxy_dir }}/scratch/tmp_parent/"
- "{{ galaxy_dir }}/tmp_parent-name-1.0.0.tar.gz"
- name : setup bad tarball - {{ test_ name }}
- name : setup bad tarball - {{ test_ id }}
script : build_bad_tar.py {{ galaxy_dir | quote }}
- name : fail to install a collection from a bad tarball - {{ test_ name }}
- name : fail to install a collection from a bad tarball - {{ test_ id }}
command : ansible-galaxy collection install '{{ galaxy_dir }}/suspicious-test-1.0.0.tar.gz' {{ galaxy_verbosity }}
register : fail_bad_tar
failed_when : fail_bad_tar.rc != 1 and "Cannot extract tar entry '../../outside.sh' as it will be placed outside the collection directory" not in fail_bad_tar.stderr
environment:
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
- name : get result of failed collection install - {{ test_ name }}
- name : get result of failed collection install - {{ test_ id }}
stat:
path : '{{ galaxy_dir }}/ansible_collections\suspicious'
register : fail_bad_tar_actual
- name : assert result of failed collection install - {{ test_ name }}
- name : assert result of failed collection install - {{ test_ id }}
assert:
that:
- not fail_bad_tar_actual.stat.exists
@ -298,24 +298,24 @@
force_basic_auth : true
register : artifact_url_response
- name : install a collection from a URI - {{ test_ name }}
- name : install a collection from a URI - {{ test_ id }}
command : ansible-galaxy collection install {{ artifact_url_response.json.download_url}} {{ galaxy_verbosity }}
register : install_uri
environment:
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
- name : get result of install collection from a URI - {{ test_ name }}
- name : get result of install collection from a URI - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/namespace4/name/MANIFEST.json'
register : install_uri_actual
- name : assert install a collection from a URI - {{ test_ name }}
- name : assert install a collection from a URI - {{ test_ id }}
assert:
that:
- '"Installing ' 'namespace4.name:1.0.0' ' to" in install_uri.stdout'
- (install_uri_actual.content | b64decode | from_json).collection_info.version == '1.0.0'
- name : fail to install a collection with an undefined URL - {{ test_ name }}
- name : fail to install a collection with an undefined URL - {{ test_ id }}
command : ansible-galaxy collection install namespace5.name {{ galaxy_verbosity }}
register : fail_undefined_server
failed_when : '"No setting was provided for required configuration plugin_type: galaxy_server plugin: undefined" not in fail_undefined_server.stderr'
@ -324,25 +324,25 @@
- when : not requires_auth
block:
- name : install a collection with an empty server list - {{ test_ name }}
- name : install a collection with an empty server list - {{ test_ id }}
command : ansible-galaxy collection install namespace5.name -s '{{ test_server }}' {{ galaxy_verbosity }}
register : install_empty_server_list
environment:
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
ANSIBLE_GALAXY_SERVER_LIST : ''
- name : get result of a collection with an empty server list - {{ test_ name }}
- name : get result of a collection with an empty server list - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/namespace5/name/MANIFEST.json'
register : install_empty_server_list_actual
- name : assert install a collection with an empty server list - {{ test_ name }}
- name : assert install a collection with an empty server list - {{ test_ id }}
assert:
that:
- '"Installing ' 'namespace5.name:1.0.0' ' to" in install_empty_server_list.stdout'
- (install_empty_server_list_actual.content | b64decode | from_json).collection_info.version == '1.0.0'
- name : create test requirements file with both roles and collections - {{ test_ name }}
- name : create test requirements file with both roles and collections - {{ test_ id }}
copy:
content : |
collections:
@ -366,13 +366,13 @@
- "'unrecognized arguments: --keyring' in invalid_opt.stderr"
# Need to run with -vvv to validate the roles will be skipped msg
- name : install collections only with requirements-with-role.yml - {{ test_ name }}
- name : install collections only with requirements-with-role.yml - {{ test_ id }}
command : ansible-galaxy collection install -r '{{ galaxy_dir }}/ansible_collections/requirements-with-role.yml' -s '{{ test_name }}' -vvv
register : install_req_collection
environment:
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
- name : get result of install collections only with requirements-with-roles.yml - {{ test_ name }}
- name : get result of install collections only with requirements-with-roles.yml - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/{{ collection }}/name/MANIFEST.json'
register : install_req_collection_actual
@ -382,7 +382,7 @@
- namespace6
- namespace7
- name : assert install collections only with requirements-with-role.yml - {{ test_ name }}
- name : assert install collections only with requirements-with-role.yml - {{ test_ id }}
assert:
that:
- '"contains roles which will be ignored" in install_req_collection.stdout'
@ -391,7 +391,7 @@
- (install_req_collection_actual.results[0].content | b64decode | from_json).collection_info.version == '1.0.0'
- (install_req_collection_actual.results[1].content | b64decode | from_json).collection_info.version == '1.0.0'
- name : create test requirements file with just collections - {{ test_ name }}
- name : create test requirements file with just collections - {{ test_ id }}
copy:
content : |
collections:
@ -399,13 +399,13 @@
- name : namespace9.name
dest : '{{ galaxy_dir }}/ansible_collections/requirements.yaml'
- name : install collections with ansible-galaxy install - {{ test_ name }}
- name : install collections with ansible-galaxy install - {{ test_ id }}
command : ansible-galaxy install -r '{{ galaxy_dir }}/ansible_collections/requirements.yaml' -s '{{ test_name }}'
register : install_req
environment:
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
- name : get result of install collections with ansible-galaxy install - {{ test_ name }}
- name : get result of install collections with ansible-galaxy install - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/{{ collection }}/name/MANIFEST.json'
register : install_req_actual
@ -415,7 +415,7 @@
- namespace8
- namespace9
- name : assert install collections with ansible-galaxy install - {{ test_ name }}
- name : assert install collections with ansible-galaxy install - {{ test_ id }}
assert:
that:
- '"Installing ' 'namespace8.name:1.0.0' ' to" in install_req.stdout'
@ -485,7 +485,7 @@
- required_together is failed
- '"ERROR! Signatures were provided to verify namespace1.name1 but no keyring was configured." in required_together.stderr'
- name : install collections with ansible-galaxy install -r with invalid signatures - {{ test_ name }}
- name : install collections with ansible-galaxy install -r with invalid signatures - {{ test_ id }}
# Note that --keyring is a valid option for 'ansible-galaxy install -r ...', not just 'ansible-galaxy collection ...'
command : ansible-galaxy install -r {{ req_file }} -s {{ test_name }} --keyring {{ keyring }} {{ galaxy_verbosity }}
register : install_req
@ -497,7 +497,7 @@
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
ANSIBLE_GALAXY_REQUIRED_VALID_SIGNATURE_COUNT : all
- name : assert invalid signature is fatal with ansible-galaxy install - {{ test_ name }}
- name : assert invalid signature is fatal with ansible-galaxy install - {{ test_ id }}
assert:
that:
- install_req is failed
@ -509,7 +509,7 @@
- '"Installing ' 'namespace9.name:1.0.0' ' to" not in install_req.stdout'
# This command is hardcoded with -vvvv purposefully to evaluate extra verbosity messages
- name : install collections with ansible-galaxy install and --ignore-errors - {{ test_ name }}
- name : install collections with ansible-galaxy install and --ignore-errors - {{ test_ id }}
command : ansible-galaxy install -r {{ req_file }} {{ cli_opts }} -vvvv
register : install_req
vars:
@ -520,7 +520,7 @@
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
ANSIBLE_GALAXY_REQUIRED_VALID_SIGNATURE_COUNT : all
- name : get result of install collections with ansible-galaxy install - {{ test_ name }}
- name : get result of install collections with ansible-galaxy install - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/{{ collection }}/name/MANIFEST.json'
register : install_req_actual
@ -531,7 +531,7 @@
- namespace9
# SIVEL
- name : assert invalid signature is not fatal with ansible-galaxy install --ignore-errors - {{ test_ name }}
- name : assert invalid signature is not fatal with ansible-galaxy install --ignore-errors - {{ test_ id }}
assert:
that:
- install_req is success
@ -558,7 +558,7 @@
- namespace8
- namespace9
- name : install collections with only one valid signature using ansible-galaxy install - {{ test_ name }}
- name : install collections with only one valid signature using ansible-galaxy install - {{ test_ id }}
command : ansible-galaxy install -r {{ req_file }} {{ cli_opts }} {{ galaxy_verbosity }}
register : install_req
vars:
@ -568,7 +568,7 @@
environment:
ANSIBLE_COLLECTIONS_PATH : '{{ galaxy_dir }}/ansible_collections'
- name : get result of install collections with ansible-galaxy install - {{ test_ name }}
- name : get result of install collections with ansible-galaxy install - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/{{ collection }}/name/MANIFEST.json'
register : install_req_actual
@ -579,7 +579,7 @@
- namespace8
- namespace9
- name : assert just one valid signature is not fatal with ansible-galaxy install - {{ test_ name }}
- name : assert just one valid signature is not fatal with ansible-galaxy install - {{ test_ id }}
assert:
that:
- install_req is success
@ -619,7 +619,7 @@
ANSIBLE_GALAXY_REQUIRED_VALID_SIGNATURE_COUNT : all
ANSIBLE_GALAXY_IGNORE_SIGNATURE_STATUS_CODES : BADSIG # cli option is appended and both status codes are ignored
- name : get result of install collections with ansible-galaxy install - {{ test_ name }}
- name : get result of install collections with ansible-galaxy install - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/{{ collection }}/name/MANIFEST.json'
register : install_req_actual
@ -630,7 +630,7 @@
- namespace8
- namespace9
- name : assert invalid signature is not fatal with ansible-galaxy install - {{ test_ name }}
- name : assert invalid signature is not fatal with ansible-galaxy install - {{ test_ id }}
assert:
that:
- install_req is success
@ -675,24 +675,24 @@
# name: cache
# version: 1.0.{{ cache_version_build }}
#
#- name: make sure the cache version list is ignored on a collection version change - {{ test_ name }}
#- name: make sure the cache version list is ignored on a collection version change - {{ test_ id }}
# command: ansible-galaxy collection install cache.cache -s '{{ test_name }}' --force -vvv
# register: install_cached_update
# environment:
# ANSIBLE_COLLECTIONS_PATH: '{{ galaxy_dir }}/ansible_collections'
#
#- name: get result of cache version list is ignored on a collection version change - {{ test_ name }}
#- name: get result of cache version list is ignored on a collection version change - {{ test_ id }}
# slurp:
# path: '{{ galaxy_dir }}/ansible_collections/cache/cache/MANIFEST.json'
# register: install_cached_update_actual
#
#- name: assert cache version list is ignored on a collection version change - {{ test_ name }}
#- name: assert cache version list is ignored on a collection version change - {{ test_ id }}
# assert:
# that:
# - '"Installing ''cache.cache:1.0.{{ cache_version_build }}'' to" in install_cached_update.stdout'
# - (install_cached_update_actual.content | b64decode | from_json).collection_info.version == '1.0.' ~ cache_version_build
- name : install collection with symlink - {{ test_ name }}
- name : install collection with symlink - {{ test_ id }}
command : ansible-galaxy collection install symlink.symlink -s '{{ test_name }}' {{ galaxy_verbosity }}
environment:
ANSIBLE_COLLECTIONS_PATHS : '{{ galaxy_dir }}/ansible_collections'
@ -703,7 +703,7 @@
recurse : yes
file_type : any
- name : get result of install collection with symlink - {{ test_ name }}
- name : get result of install collection with symlink - {{ test_ id }}
stat:
path : '{{ galaxy_dir }}/ansible_collections/symlink/symlink/{{ path }}'
register : install_symlink_actual
@ -717,7 +717,7 @@
- docs-link
- docs-link/REÅDMÈ.md
- name : assert install collection with symlink - {{ test_ name }}
- name : assert install collection with symlink - {{ test_ id }}
assert:
that:
- '"Installing ' 'symlink.symlink:1.0.0' ' to" in install_symlink.stdout'
@ -733,18 +733,18 @@
- install_symlink_actual.results[5].stat.islnk
- install_symlink_actual.results[5].stat.lnk_target == '../REÅDMÈ.md'
- name : remove install directory for the next test because parent_dep.parent_collection was installed - {{ test_ name }}
- name : remove install directory for the next test because parent_dep.parent_collection was installed - {{ test_ id }}
file:
path : '{{ galaxy_dir }}/ansible_collections'
state : absent
- name : install collection and dep compatible with multiple requirements - {{ test_ name }}
- name : install collection and dep compatible with multiple requirements - {{ test_ id }}
command : ansible-galaxy collection install parent_dep.parent_collection parent_dep2.parent_collection
environment:
ANSIBLE_COLLECTIONS_PATHS : '{{ galaxy_dir }}/ansible_collections'
register : install_req
- name : assert install collections with ansible-galaxy install - {{ test_ name }}
- name : assert install collections with ansible-galaxy install - {{ test_ id }}
assert:
that:
- '"Installing ' 'parent_dep.parent_collection:1.0.0' ' to" in install_req.stdout'
@ -760,18 +760,18 @@
state : directory
path : '{{ galaxy_dir }}/ansible_collections/unrelated_namespace/collection_without_metadata/plugins'
- name : install a collection to the same installation directory - {{ test_ name }}
- name : install a collection to the same installation directory - {{ test_ id }}
command : ansible-galaxy collection install namespace1.name1
environment:
ANSIBLE_COLLECTIONS_PATHS : '{{ galaxy_dir }}/ansible_collections'
register : install_req
- name : assert installed collections with ansible-galaxy install - {{ test_ name }}
- name : assert installed collections with ansible-galaxy install - {{ test_ id }}
assert:
that:
- '"Installing ' 'namespace1.name1:1.0.9' ' to" in install_req.stdout'
- name : remove test collection install directory - {{ test_ name }}
- name : remove test collection install directory - {{ test_ id }}
file:
path : '{{ galaxy_dir }}/ansible_collections'
state : absent
@ -964,10 +964,10 @@
path : '{{ galaxy_dir }}/ansible_collections/namespace1'
state : absent
- name : download collections with pre-release dep - {{ test_ name }}
- name : download collections with pre-release dep - {{ test_ id }}
command : ansible-galaxy collection download dep_with_beta.parent namespace1.name1:1.1.0-beta.1 -p '{{ galaxy_dir }}/scratch'
- name : install collection with concrete pre-release dep - {{ test_ name }}
- name : install collection with concrete pre-release dep - {{ test_ id }}
command : ansible-galaxy collection install -r '{{ galaxy_dir }}/scratch/requirements.yml'
args:
chdir : '{{ galaxy_dir }}/scratch'
@ -975,7 +975,7 @@
ANSIBLE_COLLECTIONS_PATHS : '{{ galaxy_dir }}/ansible_collections'
register : install_concrete_pre
- name : get result of install collections with concrete pre-release dep - {{ test_ name }}
- name : get result of install collections with concrete pre-release dep - {{ test_ id }}
slurp:
path : '{{ galaxy_dir }}/ansible_collections/{{ collection }}/MANIFEST.json'
register : install_concrete_pre_actual
@ -985,7 +985,7 @@
- namespace1/name1
- dep_with_beta/parent
- name : assert install collections with ansible-galaxy install - {{ test_ name }}
- name : assert install collections with ansible-galaxy install - {{ test_ id }}
assert:
that:
- '"Installing ' 'namespace1.name1:1.1.0-beta.1' ' to" in install_concrete_pre.stdout'
@ -993,7 +993,7 @@
- (install_concrete_pre_actual.results[0].content | b64decode | from_json).collection_info.version == '1.1.0-beta.1'
- (install_concrete_pre_actual.results[1].content | b64decode | from_json).collection_info.version == '1.0.0'
- name : remove collection dir after round of testing - {{ test_ name }}
- name : remove collection dir after round of testing - {{ test_ id }}
file:
path : '{{ galaxy_dir }}/ansible_collections'
state : absent