Loading templates/gitlab-ci-ansible.yml +5 −5 Original line number Diff line number Diff line Loading @@ -509,7 +509,7 @@ stages: - name: "$TBC_TRACKING_IMAGE" command: ["--service", "ansible", "6.1.3" ] before_script: - *ansible-scripts - !reference [.ansible-scripts] - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" - cd $ANSIBLE_PROJECT_DIR image: Loading Loading @@ -591,7 +591,7 @@ ansible-lint: variables: ENV_APP_SUFFIX: "-$CI_ENVIRONMENT_SLUG" before_script: - *ansible-scripts - !reference [.ansible-scripts] - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" - cd $ANSIBLE_PROJECT_DIR - assert_defined "${ENV_INVENTORY:-${ANSIBLE_DEFAULT_INVENTORY}}" 'Missing required Ansible inventory' Loading @@ -599,7 +599,7 @@ ansible-lint: script: - !reference [ .ansible-commands, deploy ] after_script: - *ansible-scripts - !reference [.ansible-scripts] - cleanup_secrets artifacts: name: "$ENV_TYPE env url for $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" Loading Loading @@ -630,7 +630,7 @@ ansible-lint: variables: ENV_APP_SUFFIX: "-$CI_ENVIRONMENT_SLUG" before_script: - *ansible-scripts - !reference [.ansible-scripts] - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" - cd $ANSIBLE_PROJECT_DIR - assert_defined "${ENV_INVENTORY:-${ANSIBLE_DEFAULT_INVENTORY}}" 'Missing required Ansible inventory' Loading @@ -639,7 +639,7 @@ ansible-lint: script: - !reference [ .ansible-commands, cleanup ] after_script: - *ansible-scripts - !reference [.ansible-scripts] - cleanup_secrets environment: action: stop Loading Loading
templates/gitlab-ci-ansible.yml +5 −5 Original line number Diff line number Diff line Loading @@ -509,7 +509,7 @@ stages: - name: "$TBC_TRACKING_IMAGE" command: ["--service", "ansible", "6.1.3" ] before_script: - *ansible-scripts - !reference [.ansible-scripts] - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" - cd $ANSIBLE_PROJECT_DIR image: Loading Loading @@ -591,7 +591,7 @@ ansible-lint: variables: ENV_APP_SUFFIX: "-$CI_ENVIRONMENT_SLUG" before_script: - *ansible-scripts - !reference [.ansible-scripts] - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" - cd $ANSIBLE_PROJECT_DIR - assert_defined "${ENV_INVENTORY:-${ANSIBLE_DEFAULT_INVENTORY}}" 'Missing required Ansible inventory' Loading @@ -599,7 +599,7 @@ ansible-lint: script: - !reference [ .ansible-commands, deploy ] after_script: - *ansible-scripts - !reference [.ansible-scripts] - cleanup_secrets artifacts: name: "$ENV_TYPE env url for $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" Loading Loading @@ -630,7 +630,7 @@ ansible-lint: variables: ENV_APP_SUFFIX: "-$CI_ENVIRONMENT_SLUG" before_script: - *ansible-scripts - !reference [.ansible-scripts] - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" - cd $ANSIBLE_PROJECT_DIR - assert_defined "${ENV_INVENTORY:-${ANSIBLE_DEFAULT_INVENTORY}}" 'Missing required Ansible inventory' Loading @@ -639,7 +639,7 @@ ansible-lint: script: - !reference [ .ansible-commands, cleanup ] after_script: - *ansible-scripts - !reference [.ansible-scripts] - cleanup_secrets environment: action: stop Loading