Skip to content
Snippets Groups Projects
Commit 1b0e3ae8 authored by jurgenhaas's avatar jurgenhaas
Browse files

Try fixing the variable exclusion

parent a5c3805f
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ stages:
- chat
except:
- schedules
.default_settings_cron: &default_settings_cron
stage: deploy
tags:
......@@ -48,4 +48,4 @@ RenewLetsEncrypt:
- ascr role letsencrypt --tags=renew ${CHAT_INPUT} ${ANSIBLE_EXTRA_ARGS}
except:
variables:
- $ANSIBLE_JOB_NAME != "RenewLetsEncrypt"
- $ANSIBLE_JOB_NAME && $ANSIBLE_JOB_NAME != "RenewLetsEncrypt"
.default_settings: &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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment