mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 04:51:16 +08:00
Install copr cli config from template
This commit is contained in:
committed by
Miroslav Suchý
parent
1801a9b821
commit
bf4f92cb4b
@@ -91,6 +91,9 @@
|
||||
- name: Copy production config
|
||||
template: src=config.py dest=/etc/module-build-service/config.py
|
||||
|
||||
- name: Copy config for copr-cli
|
||||
template: src=copr.conf dest=/etc/module-build-service/copr.conf
|
||||
|
||||
- name: Install client_secrets.json
|
||||
template: src=client_secrets.json dest=/etc/module-build-service/
|
||||
|
||||
|
||||
10
roles/copr/mbs/templates/copr.conf
Normal file
10
roles/copr/mbs/templates/copr.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
[copr-cli]
|
||||
|
||||
# Username belongs to build owner and is provided by MBS on runtime
|
||||
username =
|
||||
|
||||
# API login for copr proxyuser
|
||||
login = {{ copr_mbs_cli_login }}
|
||||
token = {{ copr_mbs_cli_token }}
|
||||
|
||||
copr_url = https://{{ copr_frontend_public_hostname }}
|
||||
Reference in New Issue
Block a user