-
Notifications
You must be signed in to change notification settings - Fork 2
/
.kitchen.yml
31 lines (27 loc) · 1.2 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
---
driver :
name : <%= if ENV['TRAVIS'] then 'localhost' else 'vagrant' end %>
box : "ubuntu/trusty64"
customize :
cpus : 2
memory : 2048
provisioner:
name : ansible_push
verbose : "vvvv"
ansible_config : "test/ansible.cfg"
idempotency_test : True
diff : True
sudo : <%= if ENV['TRAVIS'] then 'True' else 'False' end %>
raw_arguments : <%= if ENV['TRAVIS'] then '-c local' else '' end %>
extra_vars : { 'kitchen_connection': '<%= if ENV["TRAVIS"] then "local" else "smart" end %>', 'kitchen_hosts': '<%= if ENV["TRAVIS"] then "localhost" else "all" end %>' }
platforms:
- name : "v1"
provisioner :
ansible_playbook_bin : "$(ansible-version path v1)ansible-playbook"
- name : "v2"
provisioner :
ansible_playbook_bin : "$(ansible-version path v2)ansible-playbook"
suites:
- name : default
provisioner :
playbook : "test/integration/default/default.yml"