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