From ce7cd0a350bbc0760d73e1013437d1e3bea7f7c7 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 6 Feb 2021 14:40:58 +0100 Subject: [PATCH] fix: solve linting issues --- tasks/install.yml | 1 + tasks/prepare.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/tasks/install.yml b/tasks/install.yml index 7413c8f..fc5fc3b 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -5,6 +5,7 @@ state: directory owner: "{{ unifi_user }}" group: "{{ unifi_group }}" + mode: 0750 loop: - "{{ unifi_base_dir }}" - "{{ unifi_base_dir }}/{{ unifi_version }}" diff --git a/tasks/prepare.yml b/tasks/prepare.yml index 35a50ff..78e8c53 100644 --- a/tasks/prepare.yml +++ b/tasks/prepare.yml @@ -31,5 +31,6 @@ file: path: /etc/ansible/facts.d state: directory + mode: 0755 become: True become_user: root