export ANSIBLE_CONFIG
This commit is contained in:
+2
-4
@@ -5,9 +5,8 @@ default:
|
||||
stages:
|
||||
- validate
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
ANSIBLE_ROLES_PATH: "$CI_PROJECT_DIR/roles"
|
||||
before_script:
|
||||
- export ANSIBLE_CONFIG=$CI_PROJECT_DIR/ansible.cfg
|
||||
|
||||
ansible-lint:
|
||||
stage: validate
|
||||
@@ -17,7 +16,6 @@ ansible-lint:
|
||||
syntax-check:
|
||||
stage: validate
|
||||
script:
|
||||
- export ANSIBLE_CONFIG=$CI_PROJECT_DIR/ansible.cfg
|
||||
- ansible-playbook --syntax-check playbooks/openvpn.yml
|
||||
|
||||
deploy-prod:
|
||||
|
||||
Reference in New Issue
Block a user