Loading README.md +1 −1 Original line number Diff line number Diff line Loading @@ -227,7 +227,7 @@ Here are its parameters: | Name | Description | Default value | | ----------------------- | ----------------------------------------- | ----------------------------- | | `ANSIBLE_LINT_IMAGE` | The Docker image used to run Ansible Lint | `haxorof/ansible-lint:latest` | | `ANSIBLE_LINT_DISABLED` | Set to disable the `kube-score` analysis | _none_ (enabled) | | `ANSIBLE_LINT_DISABLED` | Set to `true` to disable the `ansible lint` analysis | _none_ (enabled) | ## Examples Loading templates/gitlab-ci-ansible.yml +5 −5 Original line number Diff line number Diff line Loading @@ -410,7 +410,7 @@ stages: fi } if [[ -z "$TEMPLATE_CHECK_UPDATE_DISABLED" ]]; then check_for_update ansible "1.2.1"; fi if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update ansible "1.2.1"; fi unscope_variables eval_all_secrets Loading Loading @@ -447,7 +447,7 @@ ansible-lint-review: - if: $CI_MERGE_REQUEST_ID when: never # exclude when $ANSIBLE_LINT_DISABLED is set - if: $ANSIBLE_LINT_DISABLED - if: '$ANSIBLE_LINT_DISABLED == "true"' when: never # else: allow is $ANSIBLE_REVIEW_PLAYBOOK_FILE is set - if: $ANSIBLE_REVIEW_PLAYBOOK_FILE Loading @@ -461,7 +461,7 @@ ansible-lint-integration: - if: $CI_MERGE_REQUEST_ID when: never # exclude when $ANSIBLE_LINT_DISABLED is set - if: $ANSIBLE_LINT_DISABLED - if: '$ANSIBLE_LINT_DISABLED == "true"' when: never # else: allow is $ANSIBLE_INTEG_PLAYBOOK_FILE is set - if: $ANSIBLE_INTEG_PLAYBOOK_FILE Loading @@ -475,7 +475,7 @@ ansible-lint-staging: - if: $CI_MERGE_REQUEST_ID when: never # exclude when $ANSIBLE_LINT_DISABLED is set - if: $ANSIBLE_LINT_DISABLED - if: '$ANSIBLE_LINT_DISABLED == "true"' when: never # else: allow is $ANSIBLE_INTEG_PLAYBOOK_FILE is set - if: $ANSIBLE_STAGING_PLAYBOOK_FILE Loading @@ -489,7 +489,7 @@ ansible-lint-prod: - if: $CI_MERGE_REQUEST_ID when: never # exclude when $ANSIBLE_LINT_DISABLED is set - if: $ANSIBLE_LINT_DISABLED - if: '$ANSIBLE_LINT_DISABLED == "true"' when: never # else: allow is $ANSIBLE_PROD_PLAYBOOK_FILE is set - if: $ANSIBLE_PROD_PLAYBOOK_FILE Loading Loading
README.md +1 −1 Original line number Diff line number Diff line Loading @@ -227,7 +227,7 @@ Here are its parameters: | Name | Description | Default value | | ----------------------- | ----------------------------------------- | ----------------------------- | | `ANSIBLE_LINT_IMAGE` | The Docker image used to run Ansible Lint | `haxorof/ansible-lint:latest` | | `ANSIBLE_LINT_DISABLED` | Set to disable the `kube-score` analysis | _none_ (enabled) | | `ANSIBLE_LINT_DISABLED` | Set to `true` to disable the `ansible lint` analysis | _none_ (enabled) | ## Examples Loading
templates/gitlab-ci-ansible.yml +5 −5 Original line number Diff line number Diff line Loading @@ -410,7 +410,7 @@ stages: fi } if [[ -z "$TEMPLATE_CHECK_UPDATE_DISABLED" ]]; then check_for_update ansible "1.2.1"; fi if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update ansible "1.2.1"; fi unscope_variables eval_all_secrets Loading Loading @@ -447,7 +447,7 @@ ansible-lint-review: - if: $CI_MERGE_REQUEST_ID when: never # exclude when $ANSIBLE_LINT_DISABLED is set - if: $ANSIBLE_LINT_DISABLED - if: '$ANSIBLE_LINT_DISABLED == "true"' when: never # else: allow is $ANSIBLE_REVIEW_PLAYBOOK_FILE is set - if: $ANSIBLE_REVIEW_PLAYBOOK_FILE Loading @@ -461,7 +461,7 @@ ansible-lint-integration: - if: $CI_MERGE_REQUEST_ID when: never # exclude when $ANSIBLE_LINT_DISABLED is set - if: $ANSIBLE_LINT_DISABLED - if: '$ANSIBLE_LINT_DISABLED == "true"' when: never # else: allow is $ANSIBLE_INTEG_PLAYBOOK_FILE is set - if: $ANSIBLE_INTEG_PLAYBOOK_FILE Loading @@ -475,7 +475,7 @@ ansible-lint-staging: - if: $CI_MERGE_REQUEST_ID when: never # exclude when $ANSIBLE_LINT_DISABLED is set - if: $ANSIBLE_LINT_DISABLED - if: '$ANSIBLE_LINT_DISABLED == "true"' when: never # else: allow is $ANSIBLE_INTEG_PLAYBOOK_FILE is set - if: $ANSIBLE_STAGING_PLAYBOOK_FILE Loading @@ -489,7 +489,7 @@ ansible-lint-prod: - if: $CI_MERGE_REQUEST_ID when: never # exclude when $ANSIBLE_LINT_DISABLED is set - if: $ANSIBLE_LINT_DISABLED - if: '$ANSIBLE_LINT_DISABLED == "true"' when: never # else: allow is $ANSIBLE_PROD_PLAYBOOK_FILE is set - if: $ANSIBLE_PROD_PLAYBOOK_FILE Loading