update pipeline

This commit is contained in:
2022-10-21 17:14:58 -05:00
parent 25a993c7a7
commit 975d43250d

View File

@@ -118,3 +118,13 @@ destroy:
- main.yml
when: manual
ansible-update:
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/update.yml
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always