25 lines
651 B
YAML
25 lines
651 B
YAML
|
# vim: ft=yaml.ansible
|
||
|
# code: language=ansible
|
||
|
---
|
||
|
- name: Create subfolder for Nextcloud Apache2 config
|
||
|
ansible.builtin.file:
|
||
|
name: "{{ apps_vars.nextcloud.volume }}/apache2"
|
||
|
owner: root
|
||
|
mode: u=rwx,g=rx,o=rx
|
||
|
state: directory
|
||
|
|
||
|
- name: Create Nextcloud app subfolder
|
||
|
ansible.builtin.file:
|
||
|
name: "{{ apps_vars.nextcloud.volume }}/app"
|
||
|
owner: root
|
||
|
group: '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_vars.nextcloud.volume }}/apache2/remoteip.conf"
|
||
|
owner: root
|
||
|
mode: u=rw,g=r,o=r
|