Skip to content

Commit

Permalink
Merge pull request #38 from dev-sec/fix_arch
Browse files Browse the repository at this point in the history
create ansible dir in arch-dockerfile
  • Loading branch information
schurzi authored Oct 9, 2023
2 parents b492c86 + d11ab8e commit 6aa850b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch-ansible-latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6aa850b

Please sign in to comment.