From d5e0cb936930d67476d28130a7757b4f22280e55 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 23 Feb 2021 11:16:23 +0100 Subject: [PATCH] Improve direct Ansible tasks for scheduled pipelines only --- .gitlab-ci-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci-template.yml b/.gitlab-ci-template.yml index fd600b5..21081bf 100644 --- a/.gitlab-ci-template.yml +++ b/.gitlab-ci-template.yml @@ -51,7 +51,7 @@ Ansible: AnsibleDirect: <<: *default_settings_cron script: - - a ${CHAT_INPUT} ${ANSIBLE_EXTRA_ARGS} + - a -m ${ANSIBLE_COMMAND} -a "${ANSIBLE_ARGS}" ${ANSIBLE_EXTRA_ARGS} except: variables: - $ANSIBLE_JOB_NAME && $ANSIBLE_JOB_NAME != "AnsibleDirect" -- GitLab