From 2d81706795e2126833814e30f82dc1f097801edd Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 10 Jul 2018 23:01:22 +0200 Subject: [PATCH] fix some small bugs --- tasks/install.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tasks/install.yml b/tasks/install.yml index 5baacc5..d8b51e4 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -1,4 +1,16 @@ --- +- name: Setup directories + file: + path: "{{ item }}" + state: directory + owner: "{{ unifi_user }}" + group: "{{ unifi_group }}" + recurse: True + with_items: + - "{{ unifi_base_dir }}" + - "{{ unifi_base_dir }}/{{ unifi_version }}" + become: True + - block: - name: Download unifi version '{{ unifi_version }}' get_url: