Skip to content

Commit

Permalink
collection failures
Browse files Browse the repository at this point in the history
  • Loading branch information
appuk committed Feb 9, 2024
1 parent 978b399 commit 80bd22f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 20 deletions.
11 changes: 10 additions & 1 deletion dev/galaxy_collection_plays_integration_tests/content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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 }}"
Expand Down
38 changes: 19 additions & 19 deletions dev/galaxy_collection_plays_integration_tests/dispatch.yml
Original file line number Diff line number Diff line change
@@ -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
---
- 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

0 comments on commit 80bd22f

Please sign in to comment.