update pipeline

This commit is contained in:
2022-10-21 18:50:36 -05:00
parent 4778e7bd2e
commit 633c4bf260
2 changed files with 13 additions and 1 deletions

View File

@@ -128,4 +128,16 @@ ansible-update:
- ansible-playbook $CI_PROJECT_DIR/update.yml
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always
when: always
ansible-update-dns:
stage: apply
image:
name: ubuntu:latest
script:
- apt update && apt install ansible -y
- ansible-galaxy install -r $CI_PROJECT_DIR/group_vars/requirements.yml
- ansible-playbook $CI_PROJECT_DIR/ansible/dns.yml
only:
changes:
- ansible/dns.yml

0
ansible/dns.yml Normal file
View File