Skip to content

Commit

Permalink
Improved ansible-local example
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Nov 25, 2023
1 parent a4946bb commit d79e0a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/ansible-local/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ FROM docker.io/library/debian:12
RUN apt-get update && \
apt-get install -y ansible && \
rm -rf /var/lib/apt/lists/*
VOLUME /pwd
WORKDIR /pwd
EOF

docker run -it --rm -v "$PWD:/pwd" img-debian-ansible ansible-playbook /pwd/playbook.yml
docker run -it --rm -v "$PWD:/pwd" img-debian-ansible ansible-playbook playbook.yml
```

0 comments on commit d79e0a6

Please sign in to comment.