33 lines
913 B
YAML
33 lines
913 B
YAML
---
|
||
# The home-server project produces a multi-purpose setup using Ansible.
|
||
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||
|
||
- name: configure Nginx for Nextcloud
|
||
template:
|
||
src: templates/nginx_nextcloud.j2
|
||
dest: /etc/nginx/inc.d/nextcloud.https.inc
|
||
mode: 0440
|
||
owner: http
|
||
group: http
|
||
notify:
|
||
- restart openresty.service
|
||
|
||
- name: configure Nginx for LibreOffice OnLine
|
||
template:
|
||
src: templates/nginx_lool.j2
|
||
dest: /etc/nginx/inc.d/lool.https.inc
|
||
mode: 0440
|
||
owner: http
|
||
group: http
|
||
notify:
|
||
- restart openresty.service
|
||
|
||
### LOCAL COMMIT ⇒ ###
|
||
- name: commit local changes
|
||
include_role: name=etckeeper.inc allow_duplicates=true tasks_from=local.yml
|
||
vars:
|
||
msg: Nextcloud
|
||
### ⇐ LOCAL COMMIT ###
|
||
- meta: flush_handlers
|