changing default variables values
This commit is contained in:
parent
cb5149c629
commit
cae6e96be6
@ -12,9 +12,9 @@ platforms:
|
||||
# - name: trusty
|
||||
# image: ubuntu:trusty
|
||||
# - name: bionic
|
||||
# image: solita/ubuntu-systemd:bionic
|
||||
# command: /sbin/init
|
||||
# privileged: true
|
||||
image: solita/ubuntu-systemd:bionic
|
||||
command: /sbin/init
|
||||
privileged: true
|
||||
# - name: xenial
|
||||
# image: solita/ubuntu-systemd:xenial
|
||||
# privileged: true
|
||||
@ -25,9 +25,9 @@ platforms:
|
||||
# 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:
|
||||
|
||||
@ -55,7 +55,6 @@ provisioner:
|
||||
group_vars:
|
||||
all:
|
||||
elasticsearch_jvm_xms: 256
|
||||
kibana_plugin_install_ignore_error: true
|
||||
verifier:
|
||||
name: testinfra
|
||||
lint:
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
---
|
||||
- hosts: <your elasticsearch host>
|
||||
- hosts: <YOUR_ELASTICSEARCH_IP>
|
||||
roles:
|
||||
- {role: /etc/ansible/roles/wazuh-ansible/roles/elastic-stack/ansible-elasticsearch, elasticsearch_network_host: 'your elasticsearch IP'}
|
||||
- role: /etc/ansible/roles/wazuh-ansible/roles/elastic-stack/ansible-elasticsearch
|
||||
elasticsearch_network_host: '<YOUR_ELASTICSEARCH_IP>'
|
||||
|
||||
@ -1,10 +1,6 @@
|
||||
---
|
||||
- hosts: 172.16.0.162
|
||||
- hosts: <KIBANA_HOST>
|
||||
roles:
|
||||
- role: ../roles/elastic-stack/ansible-kibana
|
||||
kibana_xpack_security: true
|
||||
kibana_user: elastic
|
||||
kibana_password: elastic_pass
|
||||
kibana_node_name: node-2
|
||||
elasticsearch_network_host: 172.16.0.161
|
||||
node_certs_generator: false
|
||||
elasticsearch_network_host: <YOUR_ELASTICSEARCH_IP>
|
||||
|
||||
|
||||
@ -1,10 +1,8 @@
|
||||
---
|
||||
- hosts: 172.16.0.161
|
||||
- hosts: <WAZUH_MANAGER_HOST>
|
||||
roles:
|
||||
- role: ../roles/wazuh/ansible-wazuh-manager
|
||||
- role: ../roles/wazuh/ansible-filebeat
|
||||
filebeat_output_elasticsearch_hosts: 172.16.0.161:9200
|
||||
filebeat_xpack_security: true
|
||||
filebeat_node_name: node-1
|
||||
node_certs_generator: true
|
||||
filebeat_output_elasticsearch_hosts: <YOUR_ELASTICSEARCH_IP>:9200
|
||||
|
||||
|
||||
|
||||
@ -3,10 +3,9 @@ elasticsearch_cluster_name: wazuh
|
||||
elasticsearch_node_name: node-1
|
||||
elasticsearch_http_port: 9200
|
||||
elasticsearch_network_host: 127.0.0.1
|
||||
elasticsearch_host: 127.0.0.1
|
||||
elasticsearch_jvm_xms: null
|
||||
elastic_stack_version: 7.2.0
|
||||
single_node: false
|
||||
single_node: true
|
||||
elasticsearch_bootstrap_node: false
|
||||
elasticsearch_master_candidate: false
|
||||
elasticsearch_cluster_nodes:
|
||||
|
||||
@ -259,7 +259,7 @@
|
||||
state: started
|
||||
|
||||
- name: Make sure Elasticsearch is running before proceeding
|
||||
wait_for: host={{ elasticsearch_host }} port={{ elasticsearch_http_port }} delay=3 timeout=400
|
||||
wait_for: host={{ elasticsearch_network_host }} port={{ elasticsearch_http_port }} delay=3 timeout=400
|
||||
tags:
|
||||
- configure
|
||||
- init
|
||||
|
||||
@ -23,3 +23,5 @@ node_certs_destination: /etc/kibana/certs
|
||||
rsync_path: /usr/bin/rsync
|
||||
rsync_user: vagrant
|
||||
rsync_extra_parameters: -avg -e 'ssh -o StrictHostKeyChecking=no' --rsync-path='sudo rsync'
|
||||
|
||||
kibana_plugin_install_ignore_error: true
|
||||
@ -93,6 +93,7 @@
|
||||
path: "{{ filebeat_module_folder }}"
|
||||
register: filebeat_module_folder
|
||||
|
||||
|
||||
- name: Download Filebeat module package
|
||||
get_url:
|
||||
url: https://packages.wazuh.com/3.x/filebeat/{{ filebeat_module_package_name }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user