Bootstrap now creates cache directory /var/cache/ansible
This commit is contained in:
parent
b81eed91e0
commit
75b6bb0221
|
|
@ -1,6 +1,6 @@
|
||||||
- hosts: all
|
- hosts: all
|
||||||
become: yes
|
become: yes
|
||||||
debugger: on_failed
|
#debugger: on_failed
|
||||||
tasks:
|
tasks:
|
||||||
- name: Add the ansible group
|
- name: Add the ansible group
|
||||||
group:
|
group:
|
||||||
|
|
@ -32,6 +32,14 @@
|
||||||
mode: 0440
|
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
|
# Inserts public keys of allowed externals users to log in as ansible
|
||||||
# e.g. fabio
|
# e.g. fabio
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue