mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-10 04:25:20 +02:00
Refactored peertube role and implemented config volume
This commit is contained in:
9
roles/web-app-peertube/tasks/_create-domains.yml
Normal file
9
roles/web-app-peertube/tasks/_create-domains.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
- name: "include role for {{ application_id }} to receive certs & do modification routines"
|
||||
include_role:
|
||||
name: sys-util-csp-cert
|
||||
|
||||
- name: configure {{ domain }}.conf
|
||||
template:
|
||||
src: "templates/peertube.conf.j2"
|
||||
dest: "{{ [ NGINX.DIRECTORIES.HTTP.SERVERS, domain ~ '.conf'] | path_join }}"
|
||||
notify: restart openresty
|
Reference in New Issue
Block a user