Files
vpn-node-config/.gitlab-ci.yml
T
2026-06-16 18:01:17 +02:00

26 lines
482 B
YAML

default:
image: registry.gitlab/next-gen-portal/infra-custom-images/ansible-utilities:latest
tags:
- docker
stages:
- validate
- deploy
before_script:
- export ANSIBLE_CONFIG=$CI_PROJECT_DIR/ansible.cfg
ansible-lint:
stage: validate
script:
- ansible-lint
syntax-check:
stage: validate
script:
- ansible-playbook --syntax-check playbooks/openvpn.yml
deploy-prod:
stage: deploy
when: manual
script:
- ansible-playbook playbooks/openvpn.yml