camo: Adjust directory permissions

This patch reduces the permissions on the install directory to just the root user and also fixes the ansible-lint issue for specifying the `mode`.
This commit is contained in:
saibotk 2020-09-26 21:28:53 +02:00
parent 912d32cdd3
commit 94e2d335b8
No known key found for this signature in database
GPG key ID: A3299C587D5DF523

View file

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