ansible-role-sensu/.kitchen.yml

38 lines
863 B
YAML
Raw Permalink Normal View History

2019-01-01 19:44:04 +00:00
---
# <% os = ENV['OS'] || 'debian9' %>
# <% ansible = ENV['ANSIBLE_VERSION'] || '2.7' %>
# <% command = os == 'centos7' ? '/usr/sbin/init' : '/bin/systemd' %>
2019-01-01 19:44:04 +00:00
driver:
name: docker_cli
transport:
name: docker_cli
provisioner:
name: ansible_playbook
hosts: localhost
require_ansible_repo: false
require_ansible_omnibus: false
require_chef_for_busser: true
ansible_verbose: false
ansible_inventory: ./test/integration/inventory
platforms:
- name: <%= os %>
2019-01-01 19:44:04 +00:00
driver_config:
image: "nishiki/<%= os %>:ansible-<%= ansible %>"
command: <%= command %>
2019-01-01 19:44:04 +00:00
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
security_opt: seccomp=unconfined
# <% if os == 'debian9' %>
2019-02-16 09:01:49 +00:00
provisioner:
extra_vars:
sensu_repository_system: ubuntu
sensu_repository_release: xenial
# <% end %>
2019-01-01 19:44:04 +00:00
suites:
- name: default