summaryrefslogtreecommitdiffstats
path: root/ansible/run_playbook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/run_playbook.sh')
-rwxr-xr-xansible/run_playbook.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/run_playbook.sh b/ansible/run_playbook.sh
index 88c86bc3..9a2ca56f 100755
--- a/ansible/run_playbook.sh
+++ b/ansible/run_playbook.sh
@@ -119,13 +119,13 @@ if ! [ -d "$ANSIBLE_CHROOT" ] ; then
fi
# run chroot
-mkdir -p "$ANSIBLE_DIR"/application
-mkdir -p "$ANSIBLE_DIR"/certs
"$ANSIBLE_DIR"/docker/run_chroot.sh \
--mount rw:"${HOME}/.ssh":/root/.ssh \
--mount ro:"$ANSIBLE_DIR":/ansible \
--mount rw:"$ANSIBLE_DIR"/application:/ansible/application \
--mount rw:"$ANSIBLE_DIR"/certs:/certs \
+ --mount ro:/etc/resolv.conf:/etc/resolv.conf \
+ --mount ro:/etc/hosts:/etc/hosts \
--workdir /ansible \
execute "$ANSIBLE_CHROOT" ansible-playbook "$@"