docker.portainer/molecule/default/molecule.yml

38 lines
808 B
YAML

---
dependency:
name: galaxy
options:
role-file: requirements.yml
driver:
name: vagrant
provider:
name: virtualbox
platforms:
- name: portainer-server
box: generic/ubuntu2004
memory: 8192
cpus: 4
instance_raw_config_args:
# Forward the necessary ports for your app (if any)
#
- "vm.network 'forwarded_port', guest: 8000, host: 8000"
- "vm.network 'forwarded_port', guest: 9000, host: 9000"
- name: portainer-agent
box: generic/ubuntu2004
memory: 8192
cpus: 4
instance_raw_config_args:
# Forward the necessary ports for your app (if any)
#
- "vm.network 'forwarded_port', guest: 9001, host: 9001"
provisioner:
name: ansible
become: true
verifier:
name: ansible
lint: |
set -e
yamllint .
ansible-lint .