forked from ahuffman/ansible-sudoers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
75 lines (70 loc) · 1.75 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
71
72
73
74
75
---
driver:
name: docker
use_sudo: false
provisioner:
# name of the host
hosts: test-kitchen
# use an ansible playbook to provision our server
name: ansible_playbook
ansible_verbose: false
require_ansible_repo: false
require_ansible_omnibus: true
ansible_version: 2.3.1
require_chef_for_busser: false
sudo_command: sudo -E -H
idempotency_test: true
sudo: true
transport:
max_ssh_sessions: 3
platforms:
- name: ubuntu-xenial
driver_config:
run_command: /sbin/init
dockerfile: .docker/ubuntu/xenial/Dockerfile
platform: ubuntu
instance_name: test-role-ansible-sudoers-xenial
cap_add:
- SYS_ADMIN
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
run_options:
tmpfs:
- /run
- name: debian-stretch
driver_config:
run_command: /lib/systemd/systemd
dockerfile: .docker/debian/stretch/Dockerfile
platform: debian
instance_name: test-role-ansible-sudoers-stretch
cap_add:
- SYS_ADMIN
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
run_options:
tmpfs:
- /run
- name: fedora-latest
driver_config:
run_command: /lib/systemd/systemd
dockerfile: .docker/fedora/latest/Dockerfile
platform: fedora
instance_name: test-role-ansible-sudoers-fedora-latest
cap_add:
- SYS_ADMIN
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
run_options:
tmpfs:
- /run
verifier:
name: serverspec
sudo_path: true
suites:
# suites found at /test/integration/$test-name
- name: default
verifier:
patterns:
- roles/ansible-sudoers/test/integration/default/serverspec/*_spec.rb
bundler_path: '/usr/local/bin'
rspec_path: '/usr/local/bin'