From 75b6bb02212b6fc9769215ff9874fe96eec9be99 Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Wed, 11 Mar 2026 15:54:19 +0100 Subject: [PATCH] Bootstrap now creates cache directory /var/cache/ansible --- ansible/playbooks/bootstrap.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ansible/playbooks/bootstrap.yml b/ansible/playbooks/bootstrap.yml index 8942178..8cd33ff 100644 --- a/ansible/playbooks/bootstrap.yml +++ b/ansible/playbooks/bootstrap.yml @@ -1,6 +1,6 @@ - hosts: all become: yes - debugger: on_failed + #debugger: on_failed tasks: - name: Add the ansible group group: @@ -32,6 +32,14 @@ mode: 0440 + - name: Init cache directory + ansible.builtin.file: + path: /var/cache/ansible + owner: ansible + group: ansible + state: directory + mode: u=rwx,g=rw,o=r + # Inserts public keys of allowed externals users to log in as ansible # e.g. fabio