export ANSIBLE_CONFIG

This commit is contained in:
2026-06-16 18:01:17 +02:00
parent 5a29de8a2a
commit 12a4191489
+2 -4
View File
@@ -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: