feat!(molecule): switch from docker to vagrant to test system related roles like firewall
This commit is contained in:
parent
639b01c351
commit
d25d077253
8 changed files with 123 additions and 113 deletions
|
@ -4,6 +4,36 @@ dependency:
|
|||
name: galaxy
|
||||
options:
|
||||
requirements-file: requirements.yml
|
||||
driver:
|
||||
name: vagrant
|
||||
provider:
|
||||
name: libvirt
|
||||
provision: false
|
||||
cachier: machine
|
||||
parallel: true
|
||||
default_box: debian/bookworm64
|
||||
platforms:
|
||||
- name: debian-bookworm
|
||||
image: pouncetech/molecule:debian-bookworm
|
||||
box: debian/bookworm64
|
||||
memory: 2048
|
||||
cpus: 4
|
||||
hostname: debian-bookworm
|
||||
interfaces:
|
||||
- auto_config: true
|
||||
network_name: private_network
|
||||
type: dhcp
|
||||
instance_raw_config_args: []
|
||||
config_options:
|
||||
ssh.keep_alive: yes
|
||||
ssh.remote_user: 'vagrant'
|
||||
provider_options:
|
||||
video_type: vga
|
||||
provider_raw_config_args: []
|
||||
groups:
|
||||
- molecule
|
||||
provisioner:
|
||||
name: ansible
|
||||
inventory:
|
||||
group_vars:
|
||||
all:
|
||||
custom_base_user_account: 'vagrant'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue