OSBS: use a registry user and password in stg

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2019-09-05 10:54:05 +02:00 committed by Pierre-Yves Chibon
parent 858b4babe1
commit c4c84a6956

View file

@ -215,14 +215,12 @@ openshift_use_crio_only={{ openshift_ansible_crio_only }}
#openshift_docker_additional_registries=registry.example.com
# If oreg_url points to a registry requiring authentication, provide the following:
{% if not inventory_hostname.startswith('osbs-') %}
oreg_auth_user="{{ os_stg_registry_user }}"
oreg_auth_password="{{ os_stg_registry_password }}"
# NOTE: oreg_url must be defined by the user for oreg_auth_* to have any affect.
# oreg_auth_pass should be generated from running docker login.
# To update registry auth credentials, uncomment the following:
oreg_auth_credentials_replace=True
{% endif %}
# OpenShift repository configuration
#openshift_additional_repos=[{'id': 'openshift-origin-copr', 'name': 'OpenShift Origin COPR', 'baseurl': 'https://copr-be.cloud.fedoraproject.org/results/maxamillion/origin-next/epel-7-$basearch/', 'enabled': 1, 'gpgcheck': 1, 'gpgkey': 'https://copr-be.cloud.fedoraproject.org/results/maxamillion/origin-next/pubkey.gpg'}]