Add execute bit for directories
Whups
This commit is contained in:
parent
ef7b4db3eb
commit
6b0a86128d
@ -41,7 +41,7 @@
|
|||||||
- name: Create webroot
|
- name: Create webroot
|
||||||
file:
|
file:
|
||||||
path: "{{ nextcloud_webroot }}"
|
path: "{{ nextcloud_webroot }}"
|
||||||
mode: "0644"
|
mode: "0755"
|
||||||
recurse: yes
|
recurse: yes
|
||||||
state: directory
|
state: directory
|
||||||
- name: Check for existing installation
|
- name: Check for existing installation
|
||||||
@ -74,12 +74,12 @@
|
|||||||
recurse: yes
|
recurse: yes
|
||||||
state: directory
|
state: directory
|
||||||
loop:
|
loop:
|
||||||
- { dir: "/etc/pki", mode: "0600" }
|
- { dir: "/etc/pki", mode: "0700" }
|
||||||
- { dir: "/etc/pki/cert", mode: "0600" }
|
- { dir: "/etc/pki/cert", mode: "0700" }
|
||||||
- { dir: "/etc/pki/cert/crt", mode: "0600" }
|
- { dir: "/etc/pki/cert/crt", mode: "0700" }
|
||||||
- { dir: "/etc/pki/cert/csr", mode: "0600" }
|
- { dir: "/etc/pki/cert/csr", mode: "0700" }
|
||||||
- { dir: "/etc/pki/cert/private", mode: "0600" }
|
- { dir: "/etc/pki/cert/private", mode: "0700" }
|
||||||
- { dir: "/etc/pki/cert/challenge/{{ nextcloud_url }}", mode: "0600" }
|
- { dir: "/etc/pki/cert/challenge/{{ nextcloud_url }}", mode: "0700" }
|
||||||
- name: Create ACME account key
|
- name: Create ACME account key
|
||||||
openssl_privatekey:
|
openssl_privatekey:
|
||||||
path: "/etc/pki/cert/private/account.key"
|
path: "/etc/pki/cert/private/account.key"
|
||||||
@ -97,7 +97,7 @@
|
|||||||
- name: Create well-known directory
|
- name: Create well-known directory
|
||||||
file:
|
file:
|
||||||
path: "{{ nextcloud_webroot }}/.well-known/acme-challenge"
|
path: "{{ nextcloud_webroot }}/.well-known/acme-challenge"
|
||||||
mode: "0644"
|
mode: "0755"
|
||||||
recurse: yes
|
recurse: yes
|
||||||
state: directory
|
state: directory
|
||||||
- name: Create challenge for CSR
|
- name: Create challenge for CSR
|
||||||
|
Loading…
Reference in New Issue
Block a user