Bootstrap now creates cache directory /var/cache/ansible

This commit is contained in:
Fabio Sinibaldi 2026-03-11 15:54:19 +01:00
parent b81eed91e0
commit 75b6bb0221
1 changed files with 9 additions and 1 deletions

View File

@ -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