Skip to content

Commit

Permalink
Add ansible defaults and molecule scenario list
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasra Amirsarvari committed Jan 25, 2020
1 parent 259c126 commit 22e9a18
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,28 @@ provisioner:
config_options:
defaults:
remote_tmp: /tmp
stdout_callback: yaml
bin_ansible_callbacks: True
lint:
name: ansible-lint
playbooks:
converge: playbook.yml
scenario:
name: default
test_sequence:
- lint
# - dependency
# - cleanup
- destroy
- syntax
- create
# - prepare
- converge
- idempotence
# - side_effect
- verify
# - cleanup
- destroy
lint:
name: yamllint
driver:
Expand All @@ -24,6 +40,55 @@ platforms:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: True
pre_build_image: True
- name: ansible-molecule-centos-8
image: caseraw/ansible-molecule-centos:8
command: /usr/sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: True
pre_build_image: True
- name: ansible-molecule-centos-latest
image: caseraw/ansible-molecule-centos:latest
command: /usr/sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: True
pre_build_image: True
- name: ansible-molecule-fedora-28
image: caseraw/ansible-molecule-fedora:28
command: /usr/sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: True
pre_build_image: True
- name: ansible-molecule-fedora-29
image: caseraw/ansible-molecule-fedora:29
command: /usr/sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: True
pre_build_image: True
- name: ansible-molecule-fedora-30
image: caseraw/ansible-molecule-fedora:30
command: /usr/sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: True
pre_build_image: True
- name: ansible-molecule-fedora-31
image: caseraw/ansible-molecule-fedora:31
command: /usr/sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: True
pre_build_image: True
- name: ansible-molecule-fedora-latest
image: caseraw/ansible-molecule-fedora:latest
command: /usr/sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: True
pre_build_image: True
verifier:
name: ansible
lint:
Expand Down

0 comments on commit 22e9a18

Please sign in to comment.