From c426c20ca33a3728474624b7ef7a0a21dae61df1 Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Thu, 8 Sep 2022 18:29:07 -0500 Subject: [PATCH] fix ansible config for snyk step --- bitbucket-pipelines.yml | 1 + pipeline_generator/templates/bitbucket-pipelines.yml.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 2be4b7f..30abc50 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -539,6 +539,7 @@ pipelines: services: - docker script: + - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - apt-get update && apt-get install -y npm - npm install -g snyk diff --git a/pipeline_generator/templates/bitbucket-pipelines.yml.j2 b/pipeline_generator/templates/bitbucket-pipelines.yml.j2 index 2e89026..f28c935 100644 --- a/pipeline_generator/templates/bitbucket-pipelines.yml.j2 +++ b/pipeline_generator/templates/bitbucket-pipelines.yml.j2 @@ -60,6 +60,7 @@ pipelines: services: - docker script: + - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - apt-get update && apt-get install -y npm - npm install -g snyk