-
Notifications
You must be signed in to change notification settings - Fork 45
/
.kitchen.vagrant.yml
57 lines (53 loc) · 1.4 KB
/
.kitchen.vagrant.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
52
53
54
55
56
57
---
## FIXME! $$$$$$ Remove-Item : A parameter cannot be found that matches parameter name 'rf'.
## not even provisioning
## For now, prefer test/vagrant
driver:
name: vagrant
provider: <%= ENV['KITCHEN_PROVIDER'] || 'virtualbox' %>
provisioner:
name: ansible_playbook
roles_path: ../
hosts: all
# ansible_verbose: true
ansible_verbose: false
ansible_verbosity: 3
ansible_extra_flags: <%= ENV['ANSIBLE_EXTRA_FLAGS'] %>
platforms:
### http://kitchen.ci/blog/test-kitchen-windows-test-flight-with-vagrant/
### FIXME! https://github.com/neillturner/kitchen-ansible/issues/131
- name: ubuntu-16.04
driver_plugin: vagrant
driver_config:
box: "boxcutter/ubuntu1604"
- name: windows-2012r2
transport:
name: winrm
driver:
# gui: false
gui: true
suites:
# - name: default
# run_list:
# attributes:
- name: ansible
run_list:
attributes:
driver_config:
network:
- ['private_network', { ip: '172.28.128.6' }]
- ['public_network', { bridge: 'eth0' }]
includes:
- ubuntu-16.04
provisioner:
name: ansible_playbook
playbook: test/integration/ansible/default.yml
- name: windows
driver_config:
network:
- ['private_network', { ip: '172.28.128.7' }]
includes:
- windows-2012r2
provisioner:
name: ansible_playbook
playbook: test/integration/default/default.yml