summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-galaxy-collection/vars/main.yml
diff options
context:
space:
mode:
authorSloane Hertel <19572925+s-hertel@users.noreply.github.com>2021-02-03 22:08:02 +0100
committerGitHub <noreply@github.com>2021-02-03 22:08:02 +0100
commit9759e0ca494de1fd5fc2df2c5d11c57adbe6007c (patch)
tree56bc4ab7c3d865abe84c586ef49229f78e6e0cc2 /test/integration/targets/ansible-galaxy-collection/vars/main.yml
parentfix typo (#73434) (diff)
downloadansible-9759e0ca494de1fd5fc2df2c5d11c57adbe6007c.tar.xz
ansible-9759e0ca494de1fd5fc2df2c5d11c57adbe6007c.zip
add option to upgrade collections (#73336)
* Add a flag to ansible-galaxy to update collections Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Diffstat (limited to 'test/integration/targets/ansible-galaxy-collection/vars/main.yml')
-rw-r--r--test/integration/targets/ansible-galaxy-collection/vars/main.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/integration/targets/ansible-galaxy-collection/vars/main.yml b/test/integration/targets/ansible-galaxy-collection/vars/main.yml
index c76fd0bff2..e8ee9ca02f 100644
--- a/test/integration/targets/ansible-galaxy-collection/vars/main.yml
+++ b/test/integration/targets/ansible-galaxy-collection/vars/main.yml
@@ -73,8 +73,24 @@ collection_list:
# Complex dependency resolution
- namespace: parent_dep
name: parent_collection
+ version: 0.0.1
+ dependencies:
+ child_dep.child_collection: '<0.5.0'
+ - namespace: parent_dep
+ name: parent_collection
+ version: 1.0.0
dependencies:
child_dep.child_collection: '>=0.5.0,<1.0.0'
+ - namespace: parent_dep
+ name: parent_collection
+ version: 1.1.0
+ dependencies:
+ child_dep.child_collection: '>=0.9.9,<=1.0.0'
+ - namespace: parent_dep
+ name: parent_collection
+ version: 2.0.0
+ dependencies:
+ child_dep.child_collection: '>=1.0.0'
- namespace: parent_dep2
name: parent_collection
dependencies:
@@ -92,6 +108,9 @@ collection_list:
child_dep.child_dep2: '!=1.2.3'
- namespace: child_dep
name: child_collection
+ version: 1.0.0
+ dependencies:
+ child_dep.child_dep2: '!=1.2.3'
- namespace: child_dep
name: child_dep2
version: 1.2.2