diff --git a/playbooks/ansible-galaxy-importer/run.yaml b/playbooks/ansible-galaxy-importer/run.yaml index aa7fb3ebf..084ec73cd 100644 --- a/playbooks/ansible-galaxy-importer/run.yaml +++ b/playbooks/ansible-galaxy-importer/run.yaml @@ -11,9 +11,15 @@ file: '{{ _fetch.dest }}' name: galaxy_info + - name: Copy galaxy-importer.cfg to downloads dir + copy: + src: "{{ zuul.project.src_dir }}/tests/galaxy-importer.cfg" + dest: "~/downloads/galaxy-importer.cfg" + ignore_errors: true + - name: Confirm collection can be imported into galaxy args: chdir: "~/{{ zuul.projects['github.com/ansible-network/releases'].src_dir }}" shell: "source .tox/venv/bin/activate; cat ${GALAXY_IMPORTER_CONFIG}; ./tools/validate-collection.sh ~/downloads/{{ galaxy_info.namespace}}-{{ galaxy_info.name }}-*.tar.gz" environment: - GALAXY_IMPORTER_CONFIG: "~/{{ zuul.project.src_dir }}/tests/galaxy-importer.cfg" + GALAXY_IMPORTER_CONFIG: "~/downloads/galaxy-importer.cfg"