Skip to content

Commit

Permalink
Use CentOS 7 as version to test molecule locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasra Amirsarvari committed Jan 27, 2020
1 parent 8a0ba79 commit 4ebe967
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ dependency:
name: galaxy
provisioner:
name: ansible
config_options:
defaults:
remote_tmp: /tmp
stdout_callback: yaml
bin_ansible_callbacks: True
lint:
name: ansible-lint
playbooks:
Expand All @@ -16,8 +21,8 @@ lint:
driver:
name: docker
platforms:
- name: "${role_name:-ansible_role_chrony}-${image:-ansible-molecule-centos}-${tag:-latest}"
image: "${namespace:-caseraw}/${image:-ansible-molecule-centos}:${tag:-latest}"
- name: "${role_name:-ansible_role_chrony}-${image:-ansible-molecule-centos}-${tag:-7}"
image: "${namespace:-caseraw}/${image:-ansible-molecule-centos}:${tag:-7}"
command: "${cmd:-/usr/sbin/init}"
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
Expand Down

0 comments on commit 4ebe967

Please sign in to comment.