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 - nofile:262144:262144
privileged: true privileged: true
memory_reservation: 5120m memory_reservation: 5120m
#- name: xenial - name: xenial
# image: solita/ubuntu-systemd:xenial image: solita/ubuntu-systemd:xenial
# privileged: true privileged: true
# memory_reservation: 2048m memory_reservation: 2048m
# command: /sbin/init command: /sbin/init
# ulimits: ulimits:
# - nofile:262144:262144 - nofile:262144:262144
# - name: trusty # - name: trusty
# image: ubuntu:trusty # image: ubuntu:trusty
# privileged: true # privileged: true
@ -33,12 +33,12 @@ platforms:
# memory_reservation: 2048m # memory_reservation: 2048m
# ulimits: # ulimits:
# - nofile:262144:262144 # - nofile:262144:262144
# - name: centos7 - name: centos7
# image: milcom/centos7-systemd image: milcom/centos7-systemd
# memory_reservation: 2048m memory_reservation: 2048m
# privileged: true privileged: true
# ulimits: ulimits:
# - nofile:262144:262144 - nofile:262144:262144
provisioner: provisioner:
name: ansible name: ansible
env: env:

View File

@ -2,7 +2,5 @@
- name: Converge - name: Converge
hosts: all hosts: all
roles: roles:
#- role: wazuh/ansible-wazuh-manager - 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'}

View File

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

View File

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

View File

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