.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"
