1
0
Fork 0

Switch again to lint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Daniele Tricoli 2021-09-14 04:06:16 +02:00
parent 563fd4f5fd
commit 2a5de78154
2 changed files with 12 additions and 28 deletions

View file

@ -4,23 +4,9 @@ type: docker
name: default
steps:
# - name: lint
# image: quay.io/ansible/toolset:3.5.0
# commands:
# - molecule lint
- name: test
image: quay.io/ansible/toolset:3.5.0
privileged: true
volumes:
- name: docker
path: /var/run/docker.sock
environment:
MOLECULE_NO_LOG: false
- name: lint
image: debian:11-slim
commands:
- molecule test
volumes:
- name: docker
host:
path: /var/run/docker.sock
- apt update && apt install -y ansible python3-pip podman
- python3 -m pip install "molecule[lint,podman]"
- molecule lint

View file

@ -5,13 +5,11 @@ dependency:
name: galaxy
enabled: false
driver:
name: docker
name: podman
platforms:
- name: debian11
image: geerlingguy/docker-debian11-ansible:latest
pre_build_image: true
command: /sbin/init
privileged: true
image: jrei/systemd-debian:11
command: /lib/systemd/systemd
tmpfs:
- /run
- /tmp
@ -23,7 +21,7 @@ provisioner:
ANSIBLE_ROLES_PATH: ../../roles
verifier:
name: ansible
# lint: |
# set -e
# yamllint .
# ansible-lint
lint: |
yamllint .
ansible-lint
flake8