ansible-role-nextcloud/tasks/apache2_template.yaml
2022-04-10 16:07:18 -04:00

17 lines
487 B
YAML

---
- name: Write directory-based nextcloud.conf file
ansible.builtin.template:
src: templates/dhcpd.conf.j2
dest: "{{ nextcloud_apache2_config_path }}"
mode: '0644'
become: true
when: not nextcloud_apache2_virtualhost
- name: Write virtualhost nextcloud.conf file
ansible.builtin.template:
src: templates/apache2_virtualhost_nextcloud.conf.j2
dest: "{{ nextcloud_apache2_config_path }}"
mode: '0644'
become: true
when: nextcloud_apache2_virtualhost