You've already forked ansible-role-auth-duo
30 lines
572 B
YAML
30 lines
572 B
YAML
clone:
|
|
git:
|
|
image: woodpeckerci/plugin-git
|
|
settings:
|
|
recursive: true
|
|
submodule_update_remote: true
|
|
when:
|
|
event: [ push, manual ]
|
|
|
|
steps:
|
|
ansible-lint:
|
|
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:
|
|
event: push
|
|
yamllint:
|
|
group: test
|
|
name: "Lint: Yamllint"
|
|
image: guisea/ansible-molecule
|
|
commands:
|
|
- yamllint -f colored .
|
|
when:
|
|
event: push
|