uncommented some platforms in Molecule tests and made the default test running only for the manager

This commit is contained in:
Rshad Zhran 2019-08-19 10:07:38 +02:00
parent 60f58e9938
commit c59c0fd008
5 changed files with 42 additions and 44 deletions

View File

@ -14,13 +14,13 @@ platforms:
- nofile:262144:262144
privileged: true
memory_reservation: 5120m
#- name: xenial
# image: solita/ubuntu-systemd:xenial
# privileged: true
# memory_reservation: 2048m
# command: /sbin/init
# ulimits:
# - nofile:262144:262144
- name: xenial
image: solita/ubuntu-systemd:xenial
privileged: true
memory_reservation: 2048m
command: /sbin/init
ulimits:
- nofile:262144:262144
# - name: trusty
# image: ubuntu:trusty
# privileged: true
@ -33,12 +33,12 @@ platforms:
# memory_reservation: 2048m
# ulimits:
# - nofile:262144:262144
# - name: centos7
# image: milcom/centos7-systemd
# memory_reservation: 2048m
# privileged: true
# ulimits:
# - nofile:262144:262144
- name: centos7
image: milcom/centos7-systemd
memory_reservation: 2048m
privileged: true
ulimits:
- nofile:262144:262144
provisioner:
name: ansible
env:

View File

@ -2,7 +2,5 @@
- name: Converge
hosts: all
roles:
#- role: wazuh/ansible-wazuh-manager
#- {role: wazuh/ansible-filebeat, filebeat_output_elasticsearch_hosts: 'localhost:9200'}
#- {role: elastic-stack/ansible-elasticsearch, elasticsearch_network_host: 'localhost'}
- {role: elastic-stack/ansible-kibana, elasticsearch_network_host: 'localhost'}
- role: wazuh/ansible-wazuh-manager

View File

@ -29,12 +29,12 @@ platforms:
#memory_reservation: 2048m
#ulimits:
#- nofile:262144:262144
- name: centos6
image: centos:6
privileged: true
memory_reservation: 2048m
ulimits:
- nofile:262144:262144
#- name: centos6
# image: centos:6
# privileged: true
# memory_reservation: 2048m
# ulimits:
# - nofile:262144:262144
- name: centos7
image: milcom/centos7-systemd
memory_reservation: 2048m

View File

@ -15,19 +15,19 @@ platforms:
image: solita/ubuntu-systemd:bionic
command: /sbin/init
privileged: true
# - name: xenial
# image: solita/ubuntu-systemd:xenial
# privileged: true
# command: /sbin/init
- name: xenial
image: solita/ubuntu-systemd:xenial
privileged: true
command: /sbin/init
#- name: centos6
# image: geerlingguy/docker-centos6-ansible
# privileged: true
# command: /sbin/init
# volumes:
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
#- name: centos7
# image: milcom/centos7-systemd
# privileged: true
- name: centos7
image: milcom/centos7-systemd
privileged: true
provisioner:
name: ansible
playbooks:

View File

@ -9,20 +9,20 @@ lint:
config-data:
ignore: .virtualenv
platforms:
# - name: bionic
# image: solita/ubuntu-systemd:bionic
# command: /sbin/init
# ulimits:
# - nofile:262144:262144
# privileged: true
# memory_reservation: 1024m
# - name: xenial
# image: solita/ubuntu-systemd:xenial
# privileged: true
# memory_reservation: 1024m
# command: /sbin/init
# ulimits:
# - nofile:262144:262144
- name: bionic
image: solita/ubuntu-systemd:bionic
command: /sbin/init
ulimits:
- nofile:262144:262144
privileged: true
memory_reservation: 1024m
- name: xenial
image: solita/ubuntu-systemd:xenial
privileged: true
memory_reservation: 1024m
command: /sbin/init
ulimits:
- nofile:262144:262144
# - name: trusty
# image: ubuntu:trusty
# memory_reservation: 1024m