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: