Skip to content

Commit

Permalink
Update molecule configuration to work with 3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Feb 20, 2020
1 parent d3870f3 commit 62a339b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -30,7 +30,7 @@ env:

install:
# Install test dependencies.
- pip install molecule docker
- pip install molecule yamllint ansible-lint docker

before_script:
# Use actual Ansible Galaxy role name for the project directory.
Expand Down
13 changes: 3 additions & 10 deletions molecule/default/molecule.yml
Expand Up @@ -4,9 +4,8 @@ dependency:
driver:
name: docker
lint:
name: yamllint
options:
config-file: molecule/default/yaml-lint.yml
yamllint .
ansible-lint
platforms:
- name: instance
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
Expand All @@ -17,13 +16,7 @@ platforms:
pre_build_image: true
provisioner:
name: ansible
lint:
name: ansible-lint
playbooks:
converge: ${MOLECULE_PLAYBOOK:-playbook.yml}
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
scenario:
name: default
verifier:
name: testinfra
lint:
name: flake8
23 changes: 0 additions & 23 deletions molecule/default/playbook.yml

This file was deleted.

6 changes: 0 additions & 6 deletions molecule/default/yaml-lint.yml

This file was deleted.

0 comments on commit 62a339b

Please sign in to comment.