Skip to content
Snippets Groups Projects
Commit 740dd64c authored by fejao's avatar fejao
Browse files

Updating .gitlab-ci.yml file

parent fb9cb686
No related branches found
No related tags found
1 merge request!9Moving files 01
Pipeline #37388 failed
......@@ -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
###
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment