2015-07-09 16:29:06 +02:00
|
|
|
---
|
|
|
|
|
driver:
|
|
|
|
|
name: docker
|
|
|
|
|
|
|
|
|
|
provisioner:
|
|
|
|
|
name: ansible_playbook
|
|
|
|
|
hosts: localhost
|
|
|
|
|
roles_path: ../
|
|
|
|
|
require_ansible_repo: true
|
|
|
|
|
ansible_verbose: true
|
|
|
|
|
|
|
|
|
|
platforms:
|
|
|
|
|
- name: ubuntu-14.04
|
|
|
|
|
driver_config:
|
|
|
|
|
image: electrical/ubuntu:14.04
|
|
|
|
|
privileged: true
|
2015-07-15 12:27:48 +02:00
|
|
|
provision_command:
|
2015-07-15 14:28:19 +02:00
|
|
|
- apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ansible/ansible
|
2015-09-16 14:16:42 +02:00
|
|
|
- apt-get update && apt-get -y -q install ansible python-apt python-pycurl
|
2015-07-13 12:59:49 +02:00
|
|
|
use_sudo: false
|
2015-07-09 16:29:06 +02:00
|
|
|
- name: debian-7
|
|
|
|
|
driver_config:
|
|
|
|
|
image: electrical/debian:7.3
|
|
|
|
|
privileged: true
|
|
|
|
|
provision_command:
|
|
|
|
|
- echo 'deb http://http.debian.net/debian/ wheezy-backports main' >> /etc/apt/sources.list
|
|
|
|
|
- apt-get update
|
2015-09-16 14:16:42 +02:00
|
|
|
- apt-get install -y -q ansible
|
2015-11-24 17:32:36 +00:00
|
|
|
- apt-get install -y -q net-tools
|
2015-07-13 12:59:49 +02:00
|
|
|
use_sudo: false
|
2015-07-09 16:29:06 +02:00
|
|
|
- name: debian-8
|
|
|
|
|
driver_config:
|
|
|
|
|
image: electrical/debian:8
|
|
|
|
|
privileged: true
|
2015-11-24 17:32:36 +00:00
|
|
|
provision_command:
|
|
|
|
|
- apt-get update
|
|
|
|
|
- apt-get install -y -q ansible
|
|
|
|
|
- apt-get install -y -q net-tools
|
2015-12-21 14:05:00 +01:00
|
|
|
- sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
|
|
|
|
|
- sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
|
|
|
|
|
- sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config
|
2015-07-13 12:59:49 +02:00
|
|
|
use_sudo: false
|
2015-12-21 14:05:00 +01:00
|
|
|
run_command: "/sbin/init"
|
2015-07-09 16:29:06 +02:00
|
|
|
- name: centos-6
|
|
|
|
|
driver_config:
|
2015-09-16 14:16:42 +02:00
|
|
|
image: electrical/centos:6.4-1
|
2015-07-09 16:29:06 +02:00
|
|
|
privileged: true
|
2015-07-13 12:59:49 +02:00
|
|
|
use_sudo: false
|
2015-07-09 16:29:06 +02:00
|
|
|
- name: centos-7
|
|
|
|
|
driver_config:
|
|
|
|
|
image: electrical/centos:7
|
|
|
|
|
provision_command:
|
|
|
|
|
- sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
|
|
|
|
|
- sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
|
2015-09-16 14:16:42 +02:00
|
|
|
- sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config
|
|
|
|
|
- yum -y install initscripts
|
2015-07-10 11:09:44 +02:00
|
|
|
- yum clean all
|
2015-09-16 14:16:42 +02:00
|
|
|
run_command: "/usr/sbin/init"
|
2015-07-09 16:29:06 +02:00
|
|
|
privileged: true
|
2015-07-13 12:59:49 +02:00
|
|
|
use_sudo: false
|
2015-07-09 16:29:06 +02:00
|
|
|
|
|
|
|
|
suites:
|
2015-12-13 22:46:50 +00:00
|
|
|
- name: standard-2x
|
2015-07-16 15:56:09 +02:00
|
|
|
provisioner:
|
|
|
|
|
playbook: test/integration/standard.yml
|
2015-07-09 16:29:06 +02:00
|
|
|
run_list:
|
|
|
|
|
attributes:
|
2015-12-13 22:46:50 +00:00
|
|
|
- name: package-2x
|
2015-07-16 15:56:09 +02:00
|
|
|
run_list:
|
|
|
|
|
attributes:
|
2015-12-13 22:46:50 +00:00
|
|
|
extra_vars:
|
|
|
|
|
es_plugins:
|
|
|
|
|
- plugin: lmenezes/elasticsearch-kopf
|
|
|
|
|
version: master
|
|
|
|
|
- plugin: license
|
|
|
|
|
- plugin: marvel-agent
|
2015-07-16 15:56:09 +02:00
|
|
|
provisioner:
|
|
|
|
|
playbook: test/integration/package.yml
|
2015-12-13 22:46:50 +00:00
|
|
|
- name: config-2x
|
2015-10-22 19:09:53 +01:00
|
|
|
run_list:
|
|
|
|
|
attributes:
|
|
|
|
|
provisioner:
|
|
|
|
|
playbook: test/integration/config.yml
|
2015-12-13 22:46:50 +00:00
|
|
|
- name: multi-2x
|
2015-10-22 19:09:53 +01:00
|
|
|
run_list:
|
|
|
|
|
attributes:
|
2015-12-14 19:34:09 +00:00
|
|
|
extra_vars:
|
|
|
|
|
es_plugins:
|
|
|
|
|
- plugin: lmenezes/elasticsearch-kopf
|
|
|
|
|
version: master
|
|
|
|
|
- plugin: license
|
|
|
|
|
- plugin: marvel-agent
|
2015-10-22 19:09:53 +01:00
|
|
|
provisioner:
|
|
|
|
|
playbook: test/integration/multi.yml
|
2015-12-13 22:46:50 +00:00
|
|
|
- name: standard-1x
|
|
|
|
|
provisioner:
|
|
|
|
|
playbook: test/integration/standard.yml
|
|
|
|
|
run_list:
|
|
|
|
|
attributes:
|
|
|
|
|
extra_vars:
|
|
|
|
|
es_major_version: 1.7
|
|
|
|
|
es_version: 1.7.3
|
|
|
|
|
- name: package-1x
|
|
|
|
|
run_list:
|
|
|
|
|
attributes:
|
|
|
|
|
extra_vars:
|
|
|
|
|
es_major_version: 1.7
|
|
|
|
|
es_version: 1.7.3
|
|
|
|
|
es_plugins:
|
|
|
|
|
- plugin: lmenezes/elasticsearch-kopf
|
|
|
|
|
version: master
|
|
|
|
|
- plugin: elasticsearch/marvel
|
|
|
|
|
version: latest
|
|
|
|
|
provisioner:
|
|
|
|
|
playbook: test/integration/package.yml
|
|
|
|
|
- name: config-1x
|
|
|
|
|
run_list:
|
|
|
|
|
attributes:
|
|
|
|
|
extra_vars:
|
|
|
|
|
es_major_version: 1.7
|
|
|
|
|
es_version: 1.7.3
|
|
|
|
|
provisioner:
|
|
|
|
|
playbook: test/integration/config.yml
|
|
|
|
|
- name: multi-1x
|
|
|
|
|
run_list:
|
|
|
|
|
attributes:
|
|
|
|
|
extra_vars:
|
|
|
|
|
es_major_version: 1.7
|
|
|
|
|
es_version: 1.7.3
|
2015-12-14 19:34:09 +00:00
|
|
|
es_plugins:
|
|
|
|
|
- plugin: lmenezes/elasticsearch-kopf
|
|
|
|
|
version: master
|
|
|
|
|
- plugin: elasticsearch/marvel
|
|
|
|
|
version: latest
|
2015-12-13 22:46:50 +00:00
|
|
|
provisioner:
|
2015-12-21 14:05:00 +01:00
|
|
|
playbook: test/integration/multi.yml
|