Skip to content
Snippets Groups Projects
crontabs.yml 431 B
.defaultSettings: $default_settings
  stage: deploy
  tags:
    - ansible
  variables:
    GIT_STRATEGY: none
  only:
    refs:
      - chat
      - schedules
    variables:
      - $ANSIBLE_JOB_NAME
      - $ANSIBLE_EXTRA_ARGS

RenewLetsEncrypt:
  <<: *default_settings
  script:
    - ascr role letsencrypt --tags=renew ${CHAT_INPUT} ${ANSIBLE_EXTRA_ARGS}
  except:
    variables:
      - $ANSIBLE_JOB_NAME != "RenewLetsEncrypt"