diff options
author | Sloane Hertel <19572925+s-hertel@users.noreply.github.com> | 2022-02-21 19:07:21 -0500 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2022-02-21 18:01:32 -0800 |
commit | 65723f0bbc8c1aa3ea258f97724cc91a367f8521 (patch) | |
tree | fb53aef3ba9a3694bfbb2e8355f0ffdac6b1de12 | |
parent | 95d859be71f4cb97194cc80347a3497fb5200adb (diff) | |
download | ansible-65723f0bbc8c1aa3ea258f97724cc91a367f8521.tar.gz |
[stable-2.10] Use --no-deps when installing amazon.aws and not testing dependencies (#77091).
(cherry picked from commit 88bfb7193e729578a570e3c73becfc6613f512da)
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
-rw-r--r-- | test/integration/targets/ansible-galaxy-collection-scm/tasks/download.yml | 3 | ||||
-rw-r--r-- | test/integration/targets/ansible-galaxy-collection-scm/tasks/individual_collection_repo.yml | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/integration/targets/ansible-galaxy-collection-scm/tasks/download.yml b/test/integration/targets/ansible-galaxy-collection-scm/tasks/download.yml index 672b849c31..eedaa6f6e3 100644 --- a/test/integration/targets/ansible-galaxy-collection-scm/tasks/download.yml +++ b/test/integration/targets/ansible-galaxy-collection-scm/tasks/download.yml @@ -8,6 +8,7 @@ ansible-galaxy collection download git+https://github.com/ansible-collections/amazon.aws.git,37875c5b4ba5bf3cc43e07edf29f3432fd76def5 git+https://github.com/AlanCoding/awx.git#awx_collection,750c22a150d04eef1cb625fd4f83cce57949416c + --no-deps args: chdir: '{{ galaxy_dir }}/download' register: download_collection @@ -30,7 +31,7 @@ - download_collection_awx_actual.stat.exists - name: test the downloaded repository can be installed - command: 'ansible-galaxy collection install -r requirements.yml' + command: 'ansible-galaxy collection install -r requirements.yml --no-deps' args: chdir: '{{ galaxy_dir }}/download/collections/' diff --git a/test/integration/targets/ansible-galaxy-collection-scm/tasks/individual_collection_repo.yml b/test/integration/targets/ansible-galaxy-collection-scm/tasks/individual_collection_repo.yml index 1b761f6076..73a009d063 100644 --- a/test/integration/targets/ansible-galaxy-collection-scm/tasks/individual_collection_repo.yml +++ b/test/integration/targets/ansible-galaxy-collection-scm/tasks/individual_collection_repo.yml @@ -4,7 +4,7 @@ dest: '{{ galaxy_dir }}/development/amazon.aws/' - name: install - command: 'ansible-galaxy collection install git+file://{{galaxy_dir }}/development/amazon.aws/.git' + command: 'ansible-galaxy collection install git+file://{{galaxy_dir }}/development/amazon.aws/.git --no-deps' args: chdir: '{{ galaxy_dir }}/development' |