-
Notifications
You must be signed in to change notification settings - Fork 1
/
.kitchen.yml
54 lines (48 loc) · 1.29 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
---
driver:
name: vagrant
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
http_proxy: <%= ENV['ANSIBLE_PROXY'] %>
no_proxy: localhost,127.0.0.1
idempotency_test: true
additional_copy_path:
- extra_modules
- filter_plugins
ansible_vault_password_file: <%= File.expand_path(ENV['ANSIBLE_VAULT_PASSWORD_FILE'] || '') %>
platforms:
- name: freebsd-10.3-amd64
driver:
box: mitsuruy/ansible-freebsd-10.3-amd64
box_check_update: false
driver_config:
ssh:
shell: '/bin/sh'
provisioner:
extra_vars:
ansible_python_interpreter: '/usr/local/bin/python'
- name: ubuntu-16.04-amd64
driver:
box: mitsuruy/ansible-ubuntu-16.04-amd64
- name: centos-7.3-amd64
driver:
box: mitsuruy/ansible-centos-7.3-x86_64
box_version: 1.2.0
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