From 9b2372720bef84202ff7ba2ee4f2d851ebbaa494 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 17 Jun 2019 14:19:01 +0200 Subject: [PATCH] make sure that /usr/share/scripts exists --- apt/tasks/hold_packages.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apt/tasks/hold_packages.yml b/apt/tasks/hold_packages.yml index 65507e76..0939335b 100644 --- a/apt/tasks/hold_packages.yml +++ b/apt/tasks/hold_packages.yml @@ -28,6 +28,14 @@ state: absent with_items: "{{ apt_unhold_packages }}" +- name: /usr/share/scripts exists + file: + dest: /usr/share/scripts + mode: "0700" + owner: root + group: root + state: directory + - name: Check scripts is installed copy: src: check_held_packages.sh