forked from trombik/ansible-role-opensearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
58 lines (52 loc) · 1.37 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
---
driver:
name: vagrant
customize:
memory: 2048
transport:
name: rsync
provisioner:
hosts: test-kitchen
name: ansible_playbook
require_chef_for_busser: false
require_ruby_for_busser: false
ansible_verbosity: 1
ansible_verbose: true
ansible_extra_flags: <%= ENV['ANSIBLE_EXTRA_FLAGS'] %>
requirements_path: requirements.yml
requirements_collection_path: requirements.yml
http_proxy: <%= ENV['ANSIBLE_PROXY'] %>
idempotency_test: true
additional_copy_path:
- extra_modules
- filter_plugins
platforms:
- name: freebsd-13.0-amd64
driver:
box: trombik/ansible-freebsd-13.0-amd64
box_check_update: false
driver_config:
ssh:
shell: '/bin/sh'
network:
- ["forwarded_port", {guest: 5601, host: 5601}]
- ["forwarded_port", {guest: 80, host: 8000}]
provisioner:
extra_vars:
ansible_python_interpreter: '/usr/local/bin/python3'
- name: ubuntu-20.04-amd64
driver:
box: trombik/ansible-ubuntu-20.04-amd64
box_check_update: false
- name: centos-7.8-x86_64
driver:
box: trombik/ansible-centos-7.8-x86_64
box_check_update: false
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: tests/serverspec/default.yml
verifier:
name: shell
command: rspec -c -f d -I tests/serverspec tests/serverspec/default_spec.rb