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:
saibotk 2020-09-26 21:38:59 +02:00
parent 545236d175
commit 753cbed180
No known key found for this signature in database
GPG key ID: A3299C587D5DF523

View file

@ -21,6 +21,9 @@
file:
path: "{{ item }}"
state: directory
mode: '0700'
owner: 'root'
group: 'root'
with_items:
- "{{ static_websites_install_location }}"
become: true