forked from reallyenglish/ansible-role-jenkins-slave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
54 lines (48 loc) · 1.33 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'] %>
idempotency_test: true
additional_copy_path:
- extra_modules
- filter_plugins
- tests/serverspec/jenkins_slave_master_ssh_private_key.yml
ansible_vault_password_file: <%= File.expand_path(ENV['ANSIBLE_VAULT_PASSWORD_FILE'] || '') %>
platforms:
- name: freebsd-10.3-amd64
driver:
box: trombik/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-14.04-amd64
driver:
box: trombik/ansible-ubuntu-14.04-amd64
box_check_update: false
- name: centos-7.3-x86_64
driver:
box: trombik/ansible-centos-7.3-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