diff --git a/entrypoint.sh b/entrypoint.sh index d75c99e..87f7668 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,8 +3,5 @@ echo "Creating cronjob with schedule: ${SCHEDULE}" echo "${SCHEDULE} ansible-playbook /netcup-dns/ansible/update-dns.yaml" > /etc/crontabs/root -echo "Running task once" -exec "ansible-playbook /netcup-dns/ansible/update-dns.yaml" - echo "Running command: '$@'" exec "$@"