Skip to content

Commit a335901

Browse files
author
Kostyrev Aleksandr
committedJun 30, 2015
Add test kitchen support
1 parent 3a85f32 commit a335901

File tree

5 files changed

+41
-0
lines changed

5 files changed

+41
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.kitchen

‎.kitchen.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
driver:
3+
name: docker
4+
provision_command: sed -i '/tsflags=nodocs/d' /etc/yum.conf
5+
6+
provisioner:
7+
name: ansible_playbook
8+
ansible_yum_repo: "http://mirror.logol.ru/epel/6/x86_64/epel-release-6-8.noarch.rpm"
9+
hosts: localhost
10+
requirements_path: requirements.yml
11+
require_ruby_for_busser: false
12+
13+
platforms:
14+
- name: centos-6.6
15+
- name: centos-7
16+
provisioner:
17+
ansible_yum_repo: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
18+
playbook: default.yml
19+
20+
21+
suites:
22+
- name: zabbix-20-mysql

‎requirements.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
- src: geerlingguy.apache
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
- hosts: localhost
3+
pre_tasks:
4+
- yum: name=MySQL-python state=present
5+
- yum: name=mysql-server state=present
6+
- service: name=mysqld state=started
7+
roles:
8+
- { role: ansible-zabbix-server, zabbix_version: 2.0, database_type: mysql, database_type_long: mysql }
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
- hosts: localhost
3+
pre_tasks:
4+
- yum: name=MySQL-python state=present
5+
- yum: name=mariadb-server state=present
6+
- service: name=mariadb state=started
7+
roles:
8+
- { role: ansible-zabbix-server, zabbix_version: 2.0, database_type: mysql, database_type_long: mysql }

0 commit comments

Comments
 (0)