add in copr config passwords from private variables
This commit is contained in:
parent
7123aa80ca
commit
5dc0a7cdcb
3 changed files with 13 additions and 2 deletions
|
@ -10,7 +10,7 @@ frontend_url=http://copr-fe.cloud.fedoraproject.org/backend
|
||||||
|
|
||||||
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
|
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
|
||||||
# default is PASSWORDHERE but you really should change it. really.
|
# default is PASSWORDHERE but you really should change it. really.
|
||||||
frontend_auth=PASSWORDHERE
|
frontend_auth={{ copr_backend_password }}
|
||||||
|
|
||||||
# path to ansible playbook which spawns builder
|
# path to ansible playbook which spawns builder
|
||||||
# see /usr/share/copr*/playbooks/ for examples
|
# see /usr/share/copr*/playbooks/ for examples
|
||||||
|
|
|
@ -150,7 +150,11 @@
|
||||||
- provision_config
|
- provision_config
|
||||||
|
|
||||||
- name: copy copr-be.conf
|
- name: copy copr-be.conf
|
||||||
action: copy src=$files/copr/copr-be.conf-dev dest=/etc/copr/copr-be.conf
|
template: src=$files/copr/copr-be.conf dest=/etc/copr/copr-be.conf mode=640
|
||||||
|
notify:
|
||||||
|
- restart copr-backend
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
|
||||||
- name: fedmsg certs
|
- name: fedmsg certs
|
||||||
copy: >
|
copy: >
|
||||||
|
|
|
@ -44,6 +44,13 @@
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
|
- name: install copr configs
|
||||||
|
template: src=$files/copr/copr.conf dest=/etc/copr/copr.conf mode=600
|
||||||
|
notify:
|
||||||
|
- restart httpd
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
|
||||||
- name: copy apache files to conf.d
|
- name: copy apache files to conf.d
|
||||||
action: copy src=$files/copr/fe/httpd/$item dest=/etc/httpd/conf.d/$item
|
action: copy src=$files/copr/fe/httpd/$item dest=/etc/httpd/conf.d/$item
|
||||||
with_items:
|
with_items:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue