apache2: create document root directories
This commit is contained in:
parent
88a70b70ad
commit
cb1b36732a
1 changed files with 9 additions and 0 deletions
|
@ -22,6 +22,15 @@
|
|||
{%- endfor -%}
|
||||
{{- files | unique | list -}}
|
||||
register: apache2_register_stat_tls_keypairs
|
||||
|
||||
- name: create apache document roots
|
||||
ansible.builtin.file:
|
||||
path: "{{ item.documentroot | default(apache2_vhost_documentroot) }}"
|
||||
state: directory
|
||||
owner: www-data
|
||||
group: www-data
|
||||
mode: 0755
|
||||
loop: "{{ apache2_sites.values() }}"
|
||||
|
||||
- name: render apache site configs
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue