add test infrastucture, with gperiard help

This commit is contained in:
Daniel Jakots 2017-06-02 13:43:17 -04:00
parent 47d68ab660
commit 127f370ac4
2 changed files with 32 additions and 0 deletions

28
unbound/.kitchen.yml Normal file
View File

@ -0,0 +1,28 @@
---
driver:
name: docker
privileged: true
use_sudo: false
provisioner:
name: ansible_playbook
hosts: test-kitchen
roles_path: ../
ansible_verbose: true
require_ansible_source: false
require_chef_for_busser: false
idempotency_test: true
platforms:
- name: debian
driver_config:
image: evolix/ansible:2.2.1
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: ./tests/test.yml
transport:
max_ssh_sessions: 6

4
unbound/tests/test.yml Normal file
View File

@ -0,0 +1,4 @@
---
- hosts: test-kitchen
roles:
- role: unbound