This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
.kitchen.yml
70 lines (66 loc) · 1.67 KB
/
.kitchen.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
58
59
60
61
62
63
64
65
66
67
68
69
70
---
driver:
name: vagrant
gui: false
linked_clone: true
platforms:
- name: ansibleserver
driver_plugin: docker
driver_config:
image: rndmh3ro/docker-centos7-ansible:latest
platform: centos
network:
- [ 'private_network', { ip: '172.28.128.10' } ]
transport:
max_ssh_sessions: 1
provisioner:
name: ansible_playbook
roles_path: ../ansible-windows-hardening
ansible_connection: winrm
ansible_inventory: hosts
require_windows_support: true
require_chef_for_busser: false
ansible_host_key_checking: false
ansible_diff: true
ansible_verbose: false
ansible_verbosity: 3
playbook: default.yml
verifier:
name: shell
command: exit 0
- name: windows-2012R2
driver_config:
box: mwrock/Windows2012R2
communicator: winrm
network:
- [ 'private_network', { ip: '172.28.128.11' } ]
# needed to force provision of the vagrantfile
provision: true
# needed to run the ConfigureRemotingForAnsible.ps1
vagrantfiles:
- vagrant_windows_target.rb
transport:
name: winrm
verifier:
name: inspec
provisioner:
name: shell
- name: windows-2016
driver_config:
box: mwrock/Windows2016
communicator: winrm
network:
- [ 'private_network', { ip: '172.28.128.12' } ]
# needed to force provision of the vagrantfile
provision: true
# needed to run the ConfigureRemotingForAnsible.ps1
vagrantfiles:
- vagrant_windows_target.rb
transport:
name: winrm
verifier:
name: inspec
provisioner:
name: shell
suites:
- name: default