Skip to content

Commit 26986a1

Browse files
committed
Fix rights for ansible folders
1 parent c7b5fd9 commit 26986a1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@ RUN addgroup -S ansible && \
1818
pip3 install --upgrade pip && \
1919
pip3 install dnspython && \
2020
pip3 install netaddr && \
21-
pip3 install jmespath
21+
pip3 install jmespath && \
22+
mkdir /ansible-playbook-base/ /ansible-playbook && \
23+
chown -R ansible:ansible /ansible /ansible-playbook-base/ /ansible-playbook
2224

23-
COPY ansible.cfg /ansible-playbook-base/
2425
COPY entrypoint.sh /
2526

2627
USER ansible
2728

29+
COPY ansible.cfg /ansible-playbook-base/
30+
2831
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)