2023-10-05 16:41:38 +13:00
|
|
|
steps:
|
|
|
|
|
ansible-lint:
|
|
|
|
|
group: test
|
|
|
|
|
name: "Lint: Ansible-lint"
|
|
|
|
|
image: guisea/ansible-molecule
|
2023-10-08 22:14:19 +13:00
|
|
|
environment:
|
|
|
|
|
PY_COLORS: '1'
|
|
|
|
|
ANSIBLE_FORCE_COLOR: '1'
|
2023-10-06 07:04:43 +13:00
|
|
|
commands:
|
2023-10-08 22:20:48 +13:00
|
|
|
- ansible-lint --format pep8 -c ".ansible-lint"
|
2023-10-05 16:41:38 +13:00
|
|
|
when:
|
|
|
|
|
event: push
|
|
|
|
|
yamllint:
|
|
|
|
|
group: test
|
|
|
|
|
name: "Lint: Yamllint"
|
|
|
|
|
image: guisea/ansible-molecule
|
2023-10-06 07:04:43 +13:00
|
|
|
commands:
|
2023-10-08 22:14:19 +13:00
|
|
|
- yamllint -f colored .
|
2023-10-05 16:41:38 +13:00
|
|
|
when:
|
2023-10-06 07:02:26 +13:00
|
|
|
event: push
|