From 0485ae3c4040cf8766c6232dd134e8831788be00 Mon Sep 17 00:00:00 2001 From: EamonTracey Date: Thu, 27 Jul 2023 12:36:54 -0400 Subject: [PATCH] remove ah collection ansible.cfg in CI No-Issue Signed-off-by: EamonTracey --- .github/workflows/ci_automation_hub_collection.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci_automation_hub_collection.yml b/.github/workflows/ci_automation_hub_collection.yml index 0f8394a4a2..7d3619661d 100644 --- a/.github/workflows/ci_automation_hub_collection.yml +++ b/.github/workflows/ci_automation_hub_collection.yml @@ -34,6 +34,8 @@ jobs: - name: Build and install the collection working-directory: automation_hub_collection run: | + # The ansible.cfg defined in the collection repository might break the test. We want the same variables for installation and running. + rm -f ansible.cfg ansible all -i localhost, -c local -m template -a "src=galaxy.yml.j2 dest=galaxy.yml" -e collection_namespace=ansible -e collection_name=automation_hub -e collection_version=1.0.0 -e collection_repo=https://github.com/ansible/automation_hub_collection ansible-galaxy collection build -vvv ansible-galaxy collection install ansible-automation_hub-1.0.0.tar.gz -vvv