update pipeline
This commit is contained in:
@@ -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
0
ansible/dns.yml
Normal file
Reference in New Issue
Block a user