2023-10-10 23:25:49 +13:00
|
|
|
steps:
|
|
|
|
|
ansible-lint:
|
|
|
|
|
group: test
|
|
|
|
|
name: "Lint: Ansible-lint"
|
|
|
|
|
image: guisea/ansible-molecule
|
2023-10-13 09:19:33 +13:00
|
|
|
environment:
|
|
|
|
|
PY_COLORS: '1'
|
|
|
|
|
ANSIBLE_FORCE_COLOR: '1'
|
2023-10-10 23:25:49 +13:00
|
|
|
commands:
|
|
|
|
|
- ansible-lint -c ".ansible-lint"
|
|
|
|
|
when:
|
|
|
|
|
event: push
|
|
|
|
|
yamllint:
|
|
|
|
|
group: test
|
|
|
|
|
name: "Lint: Yamllint"
|
|
|
|
|
image: guisea/ansible-molecule
|
|
|
|
|
commands:
|
2023-10-13 09:19:33 +13:00
|
|
|
- yamllint -f colored .
|
2023-10-10 23:25:49 +13:00
|
|
|
when:
|
|
|
|
|
event: push
|