From 7ebcff86cb2da7f9ebcf9848e6424cacff52e7b7 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Thu, 22 Jun 2023 16:16:01 +0200 Subject: [PATCH] do not create srv/journald directory with ansible --- ansible/machine.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ansible/machine.yml b/ansible/machine.yml index cf69c78..00abba2 100644 --- a/ansible/machine.yml +++ b/ansible/machine.yml @@ -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 }}" ansible.builtin.shell: "/usr/bin/echo {{ vars | modulename(item.name) }} > /var/lib/risotto/machines_informations/{{ item.name }}.image"