Skip to content

Commit 77f3911

Browse files
committed
Fixes #186: Update tests to use Molecule 3.0 and lint manually.
1 parent 199a138 commit 77f3911

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616

1717
install:
1818
# Install test dependencies.
19-
- pip install molecule docker
19+
- pip install molecule yamllint ansible-lint docker
2020

2121
before_script:
2222
# Use actual Ansible Galaxy role name for the project directory.
File renamed without changes.
File renamed without changes.

molecule/default/molecule.yml

+4-13
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ dependency:
33
name: galaxy
44
driver:
55
name: docker
6-
lint:
7-
name: yamllint
8-
options:
9-
config-file: molecule/default/yaml-lint.yml
6+
lint: |
7+
yamllint .
8+
ansible-lint
109
platforms:
1110
- name: instance
1211
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
@@ -17,13 +16,5 @@ platforms:
1716
pre_build_image: true
1817
provisioner:
1918
name: ansible
20-
lint:
21-
name: ansible-lint
2219
playbooks:
23-
converge: ${MOLECULE_PLAYBOOK:-playbook.yml}
24-
scenario:
25-
name: default
26-
verifier:
27-
name: testinfra
28-
lint:
29-
name: flake8
20+
converge: ${MOLECULE_PLAYBOOK:-converge.yml}

0 commit comments

Comments
 (0)