Skip to content

Commit

Permalink
molecule: linters change for compatibility with v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jobcespedes committed May 4, 2020
1 parent 8b35da9 commit d7adfc4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 19 deletions.
File renamed without changes.
12 changes: 4 additions & 8 deletions molecule/all/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,14 @@ driver:
name: vagrant
provider:
name: virtualbox
lint:
name: yamllint
lint: |
yamllint .
ansible-lint
flake8
platforms:
- name: instance-centos7
box: lpf/centos7docker
- name: instance-ubuntu1804
box: lpf/ubuntu1804docker
provisioner:
name: ansible
lint:
name: ansible-lint
verifier:
name: testinfra
lint:
name: flake8
File renamed without changes.
17 changes: 6 additions & 11 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,17 @@ dependency:
driver:
name: docker
# pull: no
lint:
name: yamllint
lint: |
yamllint .
ansible-lint
flake8
platforms:
- name: instance-${MOLECULE_DISTRO:-centos7}
image:
quay.io/jobcespedes/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest
- name: instance_${MOLECULE_DISTRO:-centos7}
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
pre_build_image: true
provisioner:
name: ansible
lint:
name: ansible-lint
verifier:
name: testinfra
lint:
name: flake8

0 comments on commit d7adfc4

Please sign in to comment.