Loading templates/gitlab-ci-ansible.yml +2 −2 Original line number Diff line number Diff line Loading @@ -736,9 +736,9 @@ ansible-production: - if: '$ANSIBLE_PROD_PLAYBOOK_FILE == null || $ANSIBLE_PROD_PLAYBOOK_FILE == ""' when: never # if $AUTODEPLOY_TO_PROD: auto - if: $AUTODEPLOY_TO_PROD - if: '$AUTODEPLOY_TO_PROD == "true"' # else if PUBLISH_ON_PROD enabled: auto (because the publish job was blocking) - if: '$PUBLISH_ON_PROD == "true" || $PUBLISH_ON_PROD == "yes"' - if: '$PUBLISH_ON_PROD == "true"' # else: manual, blocking - if: $ANSIBLE_PROD_PLAYBOOK_FILE # useless test, just to prevent GitLab warning when: manual Loading
templates/gitlab-ci-ansible.yml +2 −2 Original line number Diff line number Diff line Loading @@ -736,9 +736,9 @@ ansible-production: - if: '$ANSIBLE_PROD_PLAYBOOK_FILE == null || $ANSIBLE_PROD_PLAYBOOK_FILE == ""' when: never # if $AUTODEPLOY_TO_PROD: auto - if: $AUTODEPLOY_TO_PROD - if: '$AUTODEPLOY_TO_PROD == "true"' # else if PUBLISH_ON_PROD enabled: auto (because the publish job was blocking) - if: '$PUBLISH_ON_PROD == "true" || $PUBLISH_ON_PROD == "yes"' - if: '$PUBLISH_ON_PROD == "true"' # else: manual, blocking - if: $ANSIBLE_PROD_PLAYBOOK_FILE # useless test, just to prevent GitLab warning when: manual