generate certificates
This commit is contained in:
parent
a4ad9dc285
commit
2f6663b164
3 changed files with 13 additions and 0 deletions
|
@ -4,4 +4,5 @@
|
|||
- hosts: gitea_host
|
||||
roles:
|
||||
- install_docker
|
||||
- generate_self_signed_certificate
|
||||
- install_gitea
|
||||
|
|
1
hosts
1
hosts
|
@ -31,3 +31,4 @@ all:
|
|||
gitea_host:
|
||||
hosts:
|
||||
vb1:
|
||||
server_hostname: 10.0.2.11
|
||||
|
|
|
@ -20,3 +20,14 @@
|
|||
docker_compose:
|
||||
project_src: /var/local/gitea
|
||||
|
||||
- name: Copy key
|
||||
copy:
|
||||
src: /var/certificates/{{ server_hostname }}_privkey.pem
|
||||
dest: /var/local/keycloak/certificates/tls.key
|
||||
remote_src: yes
|
||||
|
||||
- name: Copy certificate
|
||||
copy:
|
||||
src: /var/certificates/{{ server_hostname }}_cert.pem
|
||||
dest: /var/local/keycloak/certificates/tls.crt
|
||||
remote_src: yes
|
||||
|
|
Loading…
Reference in a new issue