Files
playbook-sample/molecule/default/molecule.yml
ebesson e53a7da36c
All checks were successful
continuous-integration/drone/push Build is passing
feat: initial commit
2021-01-15 21:32:00 +01:00

45 lines
1.0 KiB
YAML

---
driver:
name: vagrant
provider:
name: virtualbox
lint: |
yamllint --config-file .yamllint .
ansible-lint .
platforms:
- name: buster
box: debian/buster64
interfaces:
- auto_config: true
network_name: private_network
ip: "192.168.50.4"
instance_raw_config_args:
- "vm.network 'forwarded_port', guest: 8080, host: 8080"
- "vm.network 'forwarded_port', guest: 8000, host: 80"
- "vm.network 'forwarded_port', guest: 8443, host: 443"
- "vm.network 'forwarded_port', guest: 3000, host: 3000"
- "vm.network 'forwarded_port', guest: 9091, host: 9091"
groups:
- all
- molecule
- middleware
- gitea
provisioner:
name: ansible
lint: ansible-lint
env:
ANSIBLE_ROLES_PATH: ${PWD}/roles:${PWD}/roles-dependencies
playbooks:
converge: ../../site.yml
inventory:
links:
group_vars: ../../inventories/molecule/group_vars
scenario:
name: default
verifier:
name: testinfra
options:
junit-xml: report.xml
o: "junit_family=legacy"