2019-08-13 16:19:51 +02:00
|
|
|
---
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
|
2021-03-04 18:32:20 +01:00
|
|
|
transport:
|
|
|
|
max_ssh_sessions: 6
|
|
|
|
|
2019-08-13 16:19:51 +02:00
|
|
|
provisioner:
|
|
|
|
name: ansible_playbook
|
|
|
|
hosts: localhost
|
|
|
|
roles_path: ./
|
|
|
|
require_ansible_repo: true
|
|
|
|
ansible_verbose: true
|
|
|
|
idempotency_test: true
|
|
|
|
|
|
|
|
platforms:
|
2021-04-10 16:23:24 +02:00
|
|
|
- name: ubuntu-16.04
|
2019-08-13 16:19:51 +02:00
|
|
|
driver_config:
|
2021-04-10 16:23:24 +02:00
|
|
|
image: ubuntu:16.04
|
2019-08-13 16:19:51 +02:00
|
|
|
privileged: true
|
|
|
|
provision_command:
|
|
|
|
- apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ansible/ansible
|
|
|
|
- apt-get update && apt-get -y -q install ansible python-apt python-pycurl
|
|
|
|
use_sudo: false
|
2021-04-10 16:23:24 +02:00
|
|
|
- name: ubuntu-18.04
|
2019-08-13 16:19:51 +02:00
|
|
|
driver_config:
|
2021-04-10 16:23:24 +02:00
|
|
|
image: ubuntu:18.04
|
2019-08-13 16:19:51 +02:00
|
|
|
privileged: true
|
|
|
|
provision_command:
|
|
|
|
- apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ansible/ansible
|
|
|
|
- apt-get update && apt-get -y -q install ansible python-apt python-pycurl
|
2021-04-10 16:23:24 +02:00
|
|
|
- mkdir -p /run/sshd
|
2019-08-13 16:19:51 +02:00
|
|
|
use_sudo: false
|
2021-04-10 16:23:24 +02:00
|
|
|
- name: ubuntu-20.04
|
2019-08-13 16:19:51 +02:00
|
|
|
driver_config:
|
2021-04-10 16:23:24 +02:00
|
|
|
image: ubuntu:20.04
|
2019-08-13 16:19:51 +02:00
|
|
|
privileged: true
|
|
|
|
provision_command:
|
|
|
|
- apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ansible/ansible
|
|
|
|
- apt-get update && apt-get -y -q install ansible python-apt python-pycurl
|
|
|
|
use_sudo: false
|
|
|
|
- name: debian-8
|
|
|
|
driver_config:
|
|
|
|
image: debian:8
|
|
|
|
privileged: true
|
|
|
|
provision_command:
|
|
|
|
- echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" > /etc/apt/sources.list.d/ansible.list
|
|
|
|
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
|
|
|
|
- apt-get update && apt-get -y install ansible
|
|
|
|
use_sudo: false
|
|
|
|
- name: debian-9
|
|
|
|
driver_config:
|
|
|
|
image: debian:9
|
|
|
|
privileged: true
|
|
|
|
provision_command:
|
|
|
|
- apt-get update && apt-get -y install gnupg2
|
2021-04-10 16:23:24 +02:00
|
|
|
- echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" > /etc/apt/sources.list.d/ansible.list
|
|
|
|
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
|
|
|
|
- apt-get update && apt-get -y install ansible
|
|
|
|
use_sudo: false
|
|
|
|
- name: debian-10
|
|
|
|
driver_config:
|
|
|
|
image: debian:10
|
|
|
|
privileged: true
|
|
|
|
provision_command:
|
|
|
|
- apt-get update && apt-get -y install gnupg2
|
2019-08-13 16:19:51 +02:00
|
|
|
- echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" > /etc/apt/sources.list.d/ansible.list
|
|
|
|
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
|
|
|
|
- apt-get update && apt-get -y install ansible
|
|
|
|
use_sudo: false
|
2021-03-04 18:32:20 +01:00
|
|
|
- name: centos-7
|
2019-08-13 16:19:51 +02:00
|
|
|
driver_config:
|
2021-03-04 18:32:20 +01:00
|
|
|
image: centos:7
|
|
|
|
provision_command:
|
|
|
|
- yum -y install epel-release
|
|
|
|
- yum -y install ansible
|
|
|
|
run_command: "/usr/sbin/init"
|
2019-08-13 16:19:51 +02:00
|
|
|
privileged: true
|
2021-03-04 18:32:20 +01:00
|
|
|
use_sudo: false
|
|
|
|
- name: centos-8
|
|
|
|
driver_config:
|
|
|
|
image: centos:8
|
2019-08-13 16:19:51 +02:00
|
|
|
provision_command:
|
|
|
|
- yum -y install epel-release
|
|
|
|
- yum -y install ansible
|
2021-03-04 18:32:20 +01:00
|
|
|
run_command: "/usr/sbin/init"
|
|
|
|
privileged: true
|
2019-08-13 16:19:51 +02:00
|
|
|
use_sudo: false
|
2021-03-04 18:32:20 +01:00
|
|
|
- name: amazonlinux-2
|
2019-08-13 16:19:51 +02:00
|
|
|
driver_config:
|
2021-03-04 18:32:20 +01:00
|
|
|
image: amazonlinux:2
|
2019-08-13 16:19:51 +02:00
|
|
|
provision_command:
|
2021-03-04 18:32:20 +01:00
|
|
|
- yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
2019-08-13 16:19:51 +02:00
|
|
|
- yum -y install ansible
|
2021-03-04 18:32:20 +01:00
|
|
|
volume:
|
|
|
|
- <%=ENV['ES_XPACK_LICENSE_FILE']%>:/tmp/license.json
|
|
|
|
- /etc # This fixes certain java file actions that check the mount point. Without this adding users fails for some docker storage drivers
|
2019-08-13 16:19:51 +02:00
|
|
|
run_command: "/usr/sbin/init"
|
|
|
|
privileged: true
|
|
|
|
use_sudo: false
|
|
|
|
suites:
|
|
|
|
- name: standard
|
|
|
|
provisioner:
|
|
|
|
playbook: test/integration/standard.yml
|
|
|
|
additional_copy_path:
|
|
|
|
- "."
|
|
|
|
run_list:
|
|
|
|
attributes:
|
|
|
|
- name: standard-6x
|
|
|
|
provisioner:
|
|
|
|
playbook: test/integration/standard-6x.yml
|
|
|
|
additional_copy_path:
|
|
|
|
- "."
|
|
|
|
run_list:
|
|
|
|
attributes:
|
|
|
|
- name: multi
|
|
|
|
provisioner:
|
|
|
|
playbook: test/integration/multi.yml
|
|
|
|
additional_copy_path:
|
|
|
|
- "."
|
|
|
|
run_list:
|
|
|
|
attributes:
|
|
|
|
- name: config
|
|
|
|
provisioner:
|
|
|
|
playbook: test/integration/config.yml
|
|
|
|
additional_copy_path:
|
|
|
|
- "."
|
|
|
|
run_list:
|
2021-03-04 18:32:20 +01:00
|
|
|
attributes:
|
|
|
|
- name: oss
|
|
|
|
provisioner:
|
|
|
|
playbook: test/integration/oss.yml
|
|
|
|
additional_copy_path:
|
|
|
|
- "."
|
|
|
|
run_list:
|
|
|
|
attributes:
|