21 lines
316 B
YAML
21 lines
316 B
YAML
image: python:3.11
|
|
|
|
stages:
|
|
- lint
|
|
- dryrun
|
|
|
|
variables:
|
|
PIP_DISABLE_PIP_VERSION_CHECK: '1'
|
|
|
|
lint:
|
|
stage: lint
|
|
script:
|
|
- pip install ansible ansible-lint
|
|
- ansible-lint -v
|
|
|
|
dryrun:
|
|
stage: dryrun
|
|
script:
|
|
- pip install ansible
|
|
- ansible-playbook playbook/playbook.yml --check --list-tasks
|