Files
computer-playbook/roles/web-app-peertube/tasks/_create-domains.yml

10 lines
335 B
YAML

- 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