24 lines
655 B
YAML
24 lines
655 B
YAML
# vim: ft=yaml.ansible
|
|
# code: language=ansible
|
|
---
|
|
- name: Create subdirectory for Nextcloud Apache2 config
|
|
ansible.builtin.file:
|
|
path: "{{ apps_data_root }}/nextcloud/data/apache2"
|
|
owner: root
|
|
mode: u=rwx,g=rx,o=rx
|
|
state: directory
|
|
|
|
- name: Create subdirectory for Nextcloud data
|
|
ansible.builtin.file:
|
|
path: "{{ apps_data_root }}/nextcloud/data/app"
|
|
owner: '33'
|
|
mode: u=rwx,g=rx,o=rx
|
|
state: directory
|
|
|
|
- name: Copy Apache2 remoteip config file
|
|
ansible.builtin.template:
|
|
src: nextcloud/remoteip.conf.j2
|
|
dest: "{{ apps_data_root }}/nextcloud/data/apache2/remoteip.conf"
|
|
owner: root
|
|
mode: u=rw,g=r,o=r
|