From a75b711962b50229c3544e0cc40280a98ff72738 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Fri, 13 Oct 2023 09:19:33 +1300 Subject: [PATCH] I need colors :) --- .woodpecker/lint.yml | 5 ++++- .woodpecker/test.yml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 9660019..73b1e12 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -3,6 +3,9 @@ steps: group: test name: "Lint: Ansible-lint" image: guisea/ansible-molecule + environment: + PY_COLORS: '1' + ANSIBLE_FORCE_COLOR: '1' commands: - ansible-lint -c ".ansible-lint" when: @@ -12,6 +15,6 @@ steps: name: "Lint: Yamllint" image: guisea/ansible-molecule commands: - - yamllint . + - yamllint -f colored . when: event: push diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index fd953cc..cd7b9bd 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -13,6 +13,9 @@ steps: name: Test on ${MOLECULE_DISTRO} image: guisea/ansible-molecule pull: true + environment: + PY_COLORS: '1' + ANSIBLE_FORCE_COLOR: '1' volumes: - /var/run/docker.sock:/var/run/docker.sock commands: