From d11ab8e2d3709722c298c948954f743502b30c43 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Mon, 9 Oct 2023 10:23:04 +0200 Subject: [PATCH] create ansible dir in arch-dockerfile Signed-off-by: Sebastian Gumprich --- arch-ansible-latest/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch-ansible-latest/Dockerfile b/arch-ansible-latest/Dockerfile index 75a6e01..42e9adf 100644 --- a/arch-ansible-latest/Dockerfile +++ b/arch-ansible-latest/Dockerfile @@ -29,7 +29,8 @@ RUN pacman -S -y \ && yes | pacman -Scc || true # Install Ansible inventory file. -RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts +RUN mkdir /etc/ansible \ + && echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts # Switch default target from graphical to multi-user. RUN systemctl set-default multi-user.target