-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Assuming we also want to customise the "published" repo, or add an new collection repository with no remote,
when it is added to hub_collection_repositories, since this var is also used by hub_collection_repository_sync, Ah will return "HTTP Error 500: Internal Server Error".
hub_collection_repository_sync role should not attempt to sync repos that don't have a remote
Issue Type
- Bug Report
Ansible, Collection, Controller details
Controller version: 4.6.8
- ansible installation method: one of source, pip, OS package, EE
OS / ENVIRONMENT
Desired Behavior
STEPS TO REPRODUCE
---
hub_collection_repositories:
- name: rh-certified
remote: rh-certified
wait: true
timeout: 3600
- name: validated
remote: validated
wait: true
timeout: 3600
- name: community
remote: community
wait: true
timeout: 3600
- name: published
retain_repo_versions: 50
distribution:
state: present
pulp_labels:
pipeline: "approved"
wait: false
- name: acme_repo
retain_repo_versions: 10
distribution:
state: present
pulp_labels:
pipeline: "approved"
wait: false
roles:
- role: infra.aap_configuration.dispatch
vars:
aap_configuration_dispatcher_roles: "{{ hub_configuration_dispatcher_roles }}"
hub_configuration_dispatcher_roles:
- role: hub_collection_remote
var: hub_collection_remotes
tags: collectionremote
- role: hub_collection_repository
var: hub_collection_repositories
tags: collectionsrep
- role: hub_collection_repository_sync
var: hub_collection_repositories
tags: collectionsrepsync
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed