Update .gitlab-ci.yml

This commit is contained in:
2022-11-05 12:31:34 +00:00
parent 920bb6e95e
commit fa0199183a

View File

@@ -104,10 +104,10 @@ k3s-update:
extends: .ansible_apply extends: .ansible_apply
before_script: before_script:
- cat $ansible > $WORKDIR/ansible - cat $ansible > $WORKDIR/ansible
#rules: rules:
# - if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_PIPELINE_SOURCE == "schedule"
# when: always when: always
# - when: never - when: never
#destroy: #destroy:
@@ -138,15 +138,4 @@ k3s-update:
# - terraform.tfvars # - terraform.tfvars
# - jobs/main.yml # - jobs/main.yml
# when: manual # when: manual
#
#ansible-update:
# 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/jobs/update.yml
# rules:
# - if: $CI_PIPELINE_SOURCE == "schedule"
# when: always