summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-galaxy-collection/tasks
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2022-11-17 22:17:48 +0100
committerGitHub <noreply@github.com>2022-11-17 22:17:48 +0100
commitd925ece764b4943d92897abd01ced7209cdf133e (patch)
tree942efc11e385de3315dc28a9c803b9ab892f88ef /test/integration/targets/ansible-galaxy-collection/tasks
parentUpdate fileglob.py (#78887) (diff)
downloadansible-d925ece764b4943d92897abd01ced7209cdf133e.tar.xz
ansible-d925ece764b4943d92897abd01ced7209cdf133e.zip
Allow pip like version syntax for installing collections (#79405)
Diffstat (limited to 'test/integration/targets/ansible-galaxy-collection/tasks')
-rw-r--r--test/integration/targets/ansible-galaxy-collection/tasks/upgrade.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/ansible-galaxy-collection/tasks/upgrade.yml b/test/integration/targets/ansible-galaxy-collection/tasks/upgrade.yml
index 893ea8033b..debd70bc8e 100644
--- a/test/integration/targets/ansible-galaxy-collection/tasks/upgrade.yml
+++ b/test/integration/targets/ansible-galaxy-collection/tasks/upgrade.yml
@@ -142,7 +142,7 @@
- directory
- name: install a collection
- command: ansible-galaxy collection install namespace1.name1:0.0.1 {{ galaxy_verbosity }}
+ command: ansible-galaxy collection install namespace1.name1==0.0.1 {{ galaxy_verbosity }}
register: result
failed_when:
- '"namespace1.name1:0.0.1 was installed successfully" not in result.stdout_lines'