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