summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-galaxy-collection-scm
diff options
context:
space:
mode:
authorHideki Saito <saito@fgrep.org>2020-06-29 21:18:30 +0200
committerGitHub <noreply@github.com>2020-06-29 21:18:30 +0200
commit2d59e548f6d9f09ef2359459e6be87e9b2b0e041 (patch)
treea25cd8e4d075fd16e3889e419f8a71610633b6e8 /test/integration/targets/ansible-galaxy-collection-scm
parentDocs: mention about Ansible workshops (#70353) (diff)
downloadansible-2d59e548f6d9f09ef2359459e6be87e9b2b0e041.tar.xz
ansible-2d59e548f6d9f09ef2359459e6be87e9b2b0e041.zip
Improve ansible-galaxy STDOUT messages for collections (#70040)
- Fix issue #70010 - Add installation successful message - This feature targets "collection" sub-command and does not affect "role" sub-command Signed-off-by: Hideki Saito <saito@fgrep.org>
Diffstat (limited to 'test/integration/targets/ansible-galaxy-collection-scm')
-rw-r--r--test/integration/targets/ansible-galaxy-collection-scm/tasks/scm_dependency_deduplication.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/integration/targets/ansible-galaxy-collection-scm/tasks/scm_dependency_deduplication.yml b/test/integration/targets/ansible-galaxy-collection-scm/tasks/scm_dependency_deduplication.yml
index 353f55f226..bc10f24c07 100644
--- a/test/integration/targets/ansible-galaxy-collection-scm/tasks/scm_dependency_deduplication.yml
+++ b/test/integration/targets/ansible-galaxy-collection-scm/tasks/scm_dependency_deduplication.yml
@@ -4,14 +4,16 @@
- assert:
that:
- - command.stdout_lines | length == 7
+ - command.stdout_lines | length == 9
- command.stdout_lines[0] == "Starting galaxy collection install process"
- command.stdout_lines[1] == "Process install dependency map"
- command.stdout_lines[2] == "Starting collection install process"
- "'namespace_1.collection_1' in command.stdout_lines[3]"
- "'namespace_1.collection_1' in command.stdout_lines[4]"
- - "'namespace_2.collection_2' in command.stdout_lines[5]"
+ - "'namespace_1.collection_1' in command.stdout_lines[5]"
- "'namespace_2.collection_2' in command.stdout_lines[6]"
+ - "'namespace_2.collection_2' in command.stdout_lines[7]"
+ - "'namespace_2.collection_2' in command.stdout_lines[8]"
- name: list installed collections
command: 'ansible-galaxy collection list'
@@ -28,14 +30,16 @@
- assert:
that:
- - command.stdout_lines | length == 7
+ - command.stdout_lines | length == 9
- command.stdout_lines[0] == "Starting galaxy collection install process"
- command.stdout_lines[1] == "Process install dependency map"
- command.stdout_lines[2] == "Starting collection install process"
- "'namespace_1.collection_1' in command.stdout_lines[3]"
- "'namespace_1.collection_1' in command.stdout_lines[4]"
- - "'namespace_2.collection_2' in command.stdout_lines[5]"
+ - "'namespace_1.collection_1' in command.stdout_lines[5]"
- "'namespace_2.collection_2' in command.stdout_lines[6]"
+ - "'namespace_2.collection_2' in command.stdout_lines[7]"
+ - "'namespace_2.collection_2' in command.stdout_lines[8]"
- name: list installed collections
command: 'ansible-galaxy collection list'