2021-09-17 00:04:39 +02:00
|
|
|
---
|
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
options:
|
|
|
|
role-file: requirements.yml
|
|
|
|
driver:
|
|
|
|
name: vagrant
|
|
|
|
provider:
|
|
|
|
name: virtualbox
|
|
|
|
platforms:
|
2021-09-17 08:37:23 +02:00
|
|
|
- name: portainer-server
|
2021-09-17 00:04:39 +02:00
|
|
|
box: generic/ubuntu2004
|
|
|
|
memory: 8192
|
|
|
|
cpus: 4
|
|
|
|
instance_raw_config_args:
|
|
|
|
# Forward the necessary ports for your app (if any)
|
|
|
|
#
|
2021-09-17 08:37:23 +02:00
|
|
|
- "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"
|
2021-09-17 00:04:39 +02:00
|
|
|
|
|
|
|
provisioner:
|
|
|
|
name: ansible
|
|
|
|
become: true
|
|
|
|
verifier:
|
|
|
|
name: ansible
|
|
|
|
lint: |
|
|
|
|
set -e
|
|
|
|
yamllint .
|
|
|
|
ansible-lint .
|