export ANSIBLE_CONFIG
This commit is contained in:
+1
-2
@@ -17,8 +17,7 @@ ansible-lint:
|
|||||||
syntax-check:
|
syntax-check:
|
||||||
stage: validate
|
stage: validate
|
||||||
script:
|
script:
|
||||||
- cp ansible.cfg /tmp/ansible.cfg
|
- export ANSIBLE_CONFIG=$CI_PROJECT_DIR/ansible.cfg
|
||||||
- export ANSIBLE_CONFIG=/tmp/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