Set up deployment of the certs
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
e447ce4ef7
commit
d89691f61b
1 changed files with 19 additions and 0 deletions
|
@ -259,6 +259,25 @@
|
|||
notify:
|
||||
- restart apache
|
||||
|
||||
- name: Create the repoSpanner cert directory
|
||||
file: /etc/pagure/repospanner state=directory mode=0640 owner=git group=git
|
||||
tags:
|
||||
- config
|
||||
- pagure
|
||||
- repospanner
|
||||
|
||||
- name: Copy repoSpanner certs and keys
|
||||
copy: src={{private}}/files/repoSpanner/{{env}}/ca/{{item}} dest=/etc/pagure/repospanner/{{item}}
|
||||
owner=git group=git mode=0640
|
||||
with_items:
|
||||
- ca.crt
|
||||
- ansible-push.crt
|
||||
- ansible-push.key
|
||||
tags:
|
||||
- config
|
||||
- pagure
|
||||
- repospanner
|
||||
|
||||
- name: create the database scheme
|
||||
command: /usr/bin/python2 /usr/share/pagure/pagure_createdb.py
|
||||
changed_when: "1 != 1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue