From cf877b8d0b5c5cf9b398aea96bad16f30fae42fc Mon Sep 17 00:00:00 2001 From: Kevin Lefevre Date: Tue, 16 Jul 2019 13:29:34 +0200 Subject: [PATCH] fix: ensure directory --- tasks/path.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/path.yml b/tasks/path.yml index 5dae54f..9e1f87c 100644 --- a/tasks/path.yml +++ b/tasks/path.yml @@ -1,4 +1,11 @@ --- +- name: Bootstrap | Ensure required directories exist + file: + path: "{{ item }}" + state: directory + with_items: + - "{{ bin_dir }}" + - name: Bootstrap | Add another bin dir to system-wide $PATH. copy: dest: /etc/profile.d/custom-path.sh