From d7b53f1f8b656141d59b72aa8d6734be5dbdd675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Mon, 9 Jan 2023 15:32:35 +0100 Subject: [PATCH] fix: create bash_aliases.sh file if it doesn't exist, so writing to it doesn't fail --- tasks/configure_bash.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/configure_bash.yml b/tasks/configure_bash.yml index 4debb33..3bcec2a 100644 --- a/tasks/configure_bash.yml +++ b/tasks/configure_bash.yml @@ -2,6 +2,7 @@ - name: add more Bash aliases ansible.builtin.blockinfile: path: "/etc/profile.d/bash_aliases.sh" + create: true owner: "root" group: "root" mode: "0644" -- GitLab