From 5a29de8a2a770745263a67bef0194ce9bbbb5dda Mon Sep 17 00:00:00 2001 From: "noussair.hamrit" Date: Tue, 16 Jun 2026 17:57:53 +0200 Subject: [PATCH] export ANSIBLE_CONFIG --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 22bf62a..396da99 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,8 +17,7 @@ ansible-lint: syntax-check: stage: validate script: - - cp ansible.cfg /tmp/ansible.cfg - - export ANSIBLE_CONFIG=/tmp/ansible.cfg + - export ANSIBLE_CONFIG=$CI_PROJECT_DIR/ansible.cfg - ansible-playbook --syntax-check playbooks/openvpn.yml deploy-prod: