Created
November 15, 2018 22:34
-
-
Save jjwatt/506ae77b2cbffc1079869c0a44e2a55a to your computer and use it in GitHub Desktop.
molecule base configs and scenario configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# project/roles/your-role/molecule/default/molecule.yml | |
dependency: | |
name: galaxy | |
driver: | |
name: docker | |
provisioner: | |
name: ansible | |
log: True | |
lint: | |
name: ansible-lint | |
verifier: | |
name: testinfra | |
lint: | |
name: flake8 | |
-- | |
# project/base-molecule.yml | |
--- | |
dependency: | |
name: galaxy | |
driver: | |
name: docker | |
lint: | |
name: yamllint | |
options: | |
config-data: | |
extends: default | |
rules: | |
truthy: disable | |
platforms: | |
- name: instance | |
image: solita/ubuntu-systemd:xenial | |
volumes: | |
- /sys/fs/cgroup:/sys/fs/cgroup:ro | |
tmpfs: | |
- /run | |
- /run/lock | |
- /tmp | |
stop_signal: "SIGRTMIN+3" | |
security_opts: | |
- seccomp=unconfined | |
env: | |
container: docker | |
provisioner: | |
name: ansible | |
log: True | |
lint: | |
name: ansible-lint | |
verifier: | |
name: testinfra | |
lint: | |
name: flake8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment