-
Notifications
You must be signed in to change notification settings - Fork 0
/
molecule.yml
51 lines (48 loc) · 1.26 KB
/
molecule.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
ansible:
verbose: vv
playbook: tests/playbook.yml
diff: True
config_file: ../ansible.cfg
molecule:
ignore_paths:
- .tox
dependency:
name: galaxy
requirements_file: tests/requirements.yml
vagrant:
providers:
- name: virtualbox
type: virtualbox
options:
cpus: 1
platforms:
- name: openbsd60
box: fnichol/openbsd-6.0-i386
- name: xenial
box: ubuntu/xenial32
- name: trusty
box: ubuntu/trusty32
- name: precise
box: hashicorp/precise32
- name: stretch
box: koalephant/debian9-i386
- name: jessie
box: deb/jessie-i386
- name: wheezy
box: bmorg/debian-wheezy-i386
instances:
- name: debian-bootstrap
options:
append_platform_to_hostname: yes
raw_config_args:
- 'vm.boot_timeout = 600'
- 'vm.synced_folder ".", "/vagrant", disabled: true'
- 'vbguest.auto_update = false if Vagrant.has_plugin?("vbguest")'
- 'landrush.enabled = false if Vagrant.has_plugin?("landrush")'
- 'landrush_ip.override = false if Vagrant.has_plugin?("landrush")'
- |
vm.provider "virtualbox" do |v|
v.customize "pre-boot", ["modifyvm", :id, "--hwvirtex", ENV['VBOX_HWVIRTEX']] if ENV.has_key?('VBOX_HWVIRTEX')
v.memory = ENV['VBOX_MEMORY'].to_i if ENV.has_key?('VBOX_MEMORY')
end