do not create srv/journald directory with ansible
This commit is contained in:
parent
0705409393
commit
7ebcff86cb
1 changed files with 0 additions and 13 deletions
|
@ -1,15 +1,2 @@
|
||||||
- name: "Create SRV directory for {{ item.name}}"
|
|
||||||
file:
|
|
||||||
path: /var/lib/risotto/srv/{{ item.name }}
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
when: "item.srv"
|
|
||||||
|
|
||||||
- name: "Create journald directory for {{ item.name }}"
|
|
||||||
file:
|
|
||||||
path: /var/lib/risotto/journals/{{ item.name }}
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: "Create informations for {{ item.name }}"
|
- name: "Create informations for {{ item.name }}"
|
||||||
ansible.builtin.shell: "/usr/bin/echo {{ vars | modulename(item.name) }} > /var/lib/risotto/machines_informations/{{ item.name }}.image"
|
ansible.builtin.shell: "/usr/bin/echo {{ vars | modulename(item.name) }} > /var/lib/risotto/machines_informations/{{ item.name }}.image"
|
||||||
|
|
Loading…
Reference in a new issue