mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 05:20:49 +08:00
add in copr config passwords from private variables
This commit is contained in:
@@ -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
|
||||
# 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
|
||||
# see /usr/share/copr*/playbooks/ for examples
|
||||
|
||||
@@ -150,7 +150,11 @@
|
||||
- provision_config
|
||||
|
||||
- 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
|
||||
copy: >
|
||||
|
||||
@@ -44,6 +44,13 @@
|
||||
tags:
|
||||
- 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
|
||||
action: copy src=$files/copr/fe/httpd/$item dest=/etc/httpd/conf.d/$item
|
||||
with_items:
|
||||
|
||||
Reference in New Issue
Block a user