Update .gitlab-ci.yml

This commit is contained in:
2022-11-05 11:44:33 +00:00
parent 0790fd5877
commit 79a911fc97

View File

@@ -62,6 +62,21 @@ k3s-ansible:
when: always
- when: never
k3s-dns:
stage: build
variables:
WORKDIR: $CI_PROJECT_DIR/ansible
FILE: dns.yml
REQUIREMENTS: requirements.yml
allow_failure: false
extends: .ansible_apply
rules:
- if: '$CI_COMMIT_BRANCH == "main"'
changes:
paths:
- 'ansible/*'
when: always
- when: never
#ansible-apply: