From 740dd64c044ee8202f82d70026762b310cc0a118 Mon Sep 17 00:00:00 2001 From: fejao <mail@fejao.de> Date: Mon, 27 Jan 2025 23:08:32 +0100 Subject: [PATCH] Updating .gitlab-ci.yml file --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1e74ac0..a1f659a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,14 +57,15 @@ build: ### SYNTAX-CHECK ### systax-check-test: - stage: lint-tests + stage: syntax-check before_script: - apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/* - pip3 install -r requirements.txt script: - echo "Running ansible-lint tests at the role-> 'test'" # - ansible-playbook --systax-check -i inventories/hosts $PLAYBOOK_NAME_FOR_ROLE_TEST - - ansible-playbook --systax-check -i $INVENTORIES_PATH $PLAYBOOK_NAME_FOR_ROLE_TEST + # - ansible-playbook --systax-check -i $INVENTORIES_PATH $PLAYBOOK_NAME_FOR_ROLE_TEST + - ansible-playbook --systax-check -i inventories/hosts playbooks/ci-cd/01_test.yml allow_failure: false ### -- GitLab