ansible-roles/mongodb/.z_kitchen.yml
2017-07-03 17:36:04 +02:00

41 lines
865 B
YAML

---
driver:
name: docker
privileged: true
use_sudo: false
# important if you need to interact with systemd
# otherwise a barebone ssh server is the main process
run_command: /sbin/init
provisioner:
name: ansible_playbook
hosts: test-kitchen
roles_path: ../
ansible_verbose: true
require_ansible_source: true
install_source_rev: "stable-2.2.1.0"
require_chef_for_busser: false
idempotency_test: true
platforms:
- name: debian-8
driver_config:
image: debian:jessie
platform: debian
# verifier:
# name: serverspec
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: ./tests/test.yml
# verifier:
# patterns:
# - mongodb-org/tests/spec/mongodb-org_spec.rb
# bundler_path: '/usr/local/bin'
# rspec_path: '/usr/local/bin'
transport:
max_ssh_sessions: 6