From 94e2d335b8894b1e9bb62aa38808ccf826ab754e Mon Sep 17 00:00:00 2001 From: saibotk Date: Sat, 26 Sep 2020 21:28:53 +0200 Subject: [PATCH] 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`. --- roles/camo/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/camo/tasks/main.yml b/roles/camo/tasks/main.yml index 99ea239..5b723ad 100644 --- a/roles/camo/tasks/main.yml +++ b/roles/camo/tasks/main.yml @@ -21,6 +21,9 @@ file: path: "{{ item }}" state: directory + mode: '0700' + owner: 'root' + group: 'root' with_items: - "{{ camo_install_location }}" become: true