From 80bd22f0b7c74ece876addaf10be59b9c6799d9c Mon Sep 17 00:00:00 2001 From: abakshi Date: Thu, 8 Feb 2024 03:22:17 +0530 Subject: [PATCH] collection failures --- .../content.yml | 11 +++++- .../dispatch.yml | 38 +++++++++---------- 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/dev/galaxy_collection_plays_integration_tests/content.yml b/dev/galaxy_collection_plays_integration_tests/content.yml index 46f8914f8b..81dcdde79e 100644 --- a/dev/galaxy_collection_plays_integration_tests/content.yml +++ b/dev/galaxy_collection_plays_integration_tests/content.yml @@ -57,6 +57,15 @@ ah_path_prefix: "{{ ah_path_prefix }}" validate_certs: false + - name: Ensure there is a infra namespace + ah_namespace: + name: infra + ah_host: "{{ ah_host }}" + ah_username: "{{ ah_username }}" + ah_password: "{{ ah_password }}" + ah_path_prefix: "{{ ah_path_prefix }}" + validate_certs: false + - name: Creates directory ansible.builtin.file: path: "{{ ah_configuration_working_dir }}" @@ -78,11 +87,11 @@ validate_certs: false - name: Approve the galaxy collection + timeout: 60 ah_approval: namespace: infra name: controller_configuration version: "2.4.0" - request_timeout: 60 ah_host: "{{ ah_host }}" ah_username: "{{ ah_username }}" ah_password: "{{ ah_password }}" diff --git a/dev/galaxy_collection_plays_integration_tests/dispatch.yml b/dev/galaxy_collection_plays_integration_tests/dispatch.yml index e69b2753bc..e75e42262d 100644 --- a/dev/galaxy_collection_plays_integration_tests/dispatch.yml +++ b/dev/galaxy_collection_plays_integration_tests/dispatch.yml @@ -1,19 +1,19 @@ -#--- -#- name: Collection tests - Dispatch role -# hosts: localhost -# connection: local -# gather_facts: false -# ignore_errors: true -# collections: -# - galaxy.galaxy -# -# pre_tasks: -# - name: Include variables -# ansible.builtin.include_vars: -# file: vars/vars.yml -# -# - name: Include dispatch vars -# ansible.builtin.include_vars: -# file: vars/dispatch_vars.yml -# roles: -# - galaxy.galaxy.dispatch \ No newline at end of file +--- +- name: Collection tests - Dispatch role + hosts: localhost + connection: local + gather_facts: false + ignore_errors: true + collections: + - galaxy.galaxy + + pre_tasks: + - name: Include variables + ansible.builtin.include_vars: + file: vars/vars.yml + + - name: Include dispatch vars + ansible.builtin.include_vars: + file: vars/dispatch_vars.yml + roles: + - galaxy.galaxy.dispatch \ No newline at end of file