force colors in ansible-lint
All checks were successful
test / Linting (push) Successful in 6s
test / Molecule tests (default, debian11) (push) Successful in 37s
test / Molecule tests (default, debian12) (push) Successful in 38s
test / Molecule tests (default, ubuntu2004) (push) Successful in 38s
test / Molecule tests (default, ubuntu2204) (push) Successful in 38s
test / Molecule tests (with_extra_sidecars, debian11) (push) Successful in 39s
test / Molecule tests (with_extra_sidecars, debian12) (push) Successful in 39s
test / Molecule tests (with_extra_sidecars, ubuntu2004) (push) Successful in 39s
test / Molecule tests (with_extra_sidecars, ubuntu2204) (push) Successful in 39s

This commit is contained in:
Bertrand Lanson 2023-06-29 22:27:12 +02:00
parent dbdbff1533
commit 4ac904dea7

View File

@ -11,16 +11,12 @@ jobs:
credentials:
username: ${{ secrets.ACTIONS_USER }}
password: ${{ secrets.ACTIONS_TOKEN }}
env:
ANSIBLE_HOST_KEY_CHECKING: 'false'
ANSIBLE_FORCE_COLOR: 'true'
ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Ansible lint"
run: ansible-lint
run: ansible-lint --force-color
working-directory: ${{ gitea.workspace }}
- name: "YAML lint"