static_websites: Adjust directory permissions
This patch reduces the permissions on the install directory to just the root user and also fixes the ansible-lint issue by specifying the `mode`.
This commit is contained in:
parent
545236d175
commit
753cbed180
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
mode: '0700'
|
||||||
|
owner: 'root'
|
||||||
|
group: 'root'
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ static_websites_install_location }}"
|
- "{{ static_websites_install_location }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue