From 975d43250d2c0872c21065eb6c30b3704f2b960a Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Fri, 21 Oct 2022 17:14:58 -0500 Subject: [PATCH] update pipeline --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55ad55f..46aeaeb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file