Commit 99f9d906 authored by Okhin's avatar Okhin

Updating the gitlab-ci job to preserve galaxies roles.

parent 63dc88b0
Pipeline #2444 failed
......@@ -3,20 +3,29 @@ stages:
- test-syntax
- test-ansible
galaxy install:
galaxy:install:
stage: galaxy
script:
- ansible-galaxy install -f -r dependencies.yml -p ./roles/
tags: [preprod]
artifacts:
path:
- roles/
expire_in: 1 week
syntax check:
syntax:check:
stage: test-syntax
script:
- ansible-playbook --syntax-check site.yml
tags: [preprod]
dependencies:
- galaxy:install
ansible check:
ansible:check:
stage: test-ansible
script:
- ansible-playbook -i hosts --check site.yml
tags: [preprod]
dependencies:
- galaxy:install
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment