Commit Graph

244 Commits

Author SHA1 Message Date
Jose M
320b373240 Add default variables to build Wazuh Kibana Plugin 2019-11-21 13:28:46 +01:00
Jose M
e0038118e1 Restore "creates" setting in Wazuh Kibana plugin installation 2019-11-20 16:49:54 +01:00
Jose M
be1b60471e Change Wazuh APP installation to do it as kibana user 2019-11-20 15:05:59 +01:00
Jose M
fbd287984d Set default user to "elastic" for the first API calls to ES 2019-11-14 10:50:49 +01:00
manuasir
10ab6a30a6 Bump elasticsearch version 2019-11-11 18:31:43 +01:00
Manuel Gutierrez
e1f88c84f2 Enable allow-root flag for kibana-plugin 2019-11-07 17:59:29 +01:00
Jose M
5684805d55 Update Kibana task to make use of "wazuh_app_url" 2019-11-05 16:18:33 +01:00
Jose M
483a543c76 Create variable to flexibility Wazuh App URL 2019-11-05 16:18:21 +01:00
Jose M
a46b681dcf Update elasticsearch.yml to render node.data and .ingest vars 2019-10-30 16:02:26 +01:00
Jose M
9020e06ec8 Update ES parameters with new node.ingest and node.data variables 2019-10-30 16:01:56 +01:00
Jose M
f0f54b63a6 Rename "elasticsearch_master_candidate" to "elasticsearch_node_master" 2019-10-30 16:01:32 +01:00
Manuel Gutierrez
6db1fd65d3 Add support for environments with low disk space
This adds and option to bypass ES default disk-based shard allocation.
2019-10-22 10:50:38 +02:00
Manuel Gutierrez
56e7d10937 Fix space typo 2019-10-09 17:13:11 +02:00
Manuel Gutierrez
9b0bcf9fe6 Add docs on user creation 2019-10-09 17:12:01 +02:00
Manuel Gutierrez
dcc7624d59 Add waiting task before creating users
Wait for elasticsearch API to be ready before attempting to add users
2019-10-09 17:00:47 +02:00
Manuel Gutierrez
9c125c6b1c Move user creation to main file 2019-10-09 16:59:58 +02:00
Manuel Gutierrez
1e8cc831cf Remove become from local task 2019-10-09 16:47:41 +02:00
Manuel Gutierrez
99426a3c0f New task to create elasticsearch users
Fixes #269
Fixes #268
2019-10-04 17:01:55 +02:00
Manuel J. Bernal
aab327144e
Merge pull request #257 from wazuh/fix-undefined-var-on-template
Check if var is defined
2019-10-03 10:57:56 +02:00
Manuel Gutierrez
38993c3100 Fix vars on cluster example 2019-10-01 18:20:29 +02:00
Manuel Gutierrez
86de4a0fee Add elasticsearch_reachable_host
This fixes #262
2019-10-01 11:01:18 +02:00
Manuel Gutierrez
a53674791f Add xpack scenario in the Readme 2019-09-27 16:44:12 +02:00
Manuel Gutierrez
6fc395a81f Add length check 2019-09-27 15:12:54 +02:00
Manuel Gutierrez
a542c3bb4b Remove unzip check 2019-09-27 13:08:02 +02:00
Manuel Gutierrez
7444885ecd Check if var is defined 2019-09-27 12:47:44 +02:00
Manuel J. Bernal
9dbb5f415e
Merge pull request #251 from wazuh/fix-upgrade-elk
Fix Ansible upgrade from 6.x to 7.x
2019-09-26 18:28:05 +02:00
Manuel Gutierrez
47b16b3c20 Support both IP and DNS when creating elastic cluster 2019-09-26 16:44:55 +02:00
Jose M
1ec7e696e2 Remove debugger setting used in testing 2019-09-26 16:11:38 +02:00
Jose M
4c9ae0eee5 Fix conditional when checking Wazuh-APP version 2019-09-26 16:11:20 +02:00
Jose M
33a95a5c4a Fix "Checking Wazuh-APP version" task that updates plugins 2019-09-26 13:06:42 +02:00
Jose M
736f9b8c48 Rename Elastic respository to allow upgrades from 6.x 2019-09-26 13:05:44 +02:00
Manuel Gutierrez
e8881ee82f Bypass idempotence tests on elastic xpack 2019-09-26 13:03:14 +02:00
Jose M
133cda683a Fix linting in ansible-kibana tasks 2019-09-25 12:47:49 +02:00
Jose M
5646848266 Bump version to 3.10.2_7.3.2 2019-09-25 09:14:31 +02:00
Jose M
b8803de85f Fix set bootstrap password task. Linting OK 2019-09-24 18:37:14 +02:00
Manuel Gutierrez
4f955fe498 Switch tasks from shell to command 2019-09-24 12:49:26 +02:00
Manuel Gutierrez
02425e0c85 Fix linting errors
Fixed linting on xpack_security.yml
2019-09-24 11:10:36 +02:00
Manuel Gutierrez
a1359495a9 Fix linting: trailing whitespace 2019-09-24 10:57:23 +02:00
Jose M
d6979b772e Merge 3.10.2_7.3.2 into ellk-security-dev 2019-09-24 09:37:31 +02:00
Jose M
61740ebebc Fix typo in Amazon distribution conditional 2019-09-18 09:01:10 +02:00
Jose M
c1e085a1ed Fix trailing whitespace for linting checks 2019-09-17 14:34:04 +02:00
Jose M
8f953f4272 Add versioning to filter AL2 in the daemon reload task 2019-09-17 13:04:35 +02:00
Jose M
f94e095972 Remove Amazon from daemon reload exceptions 2019-09-17 12:47:19 +02:00
Jose M
8c48c6ce62 Remove explicit Kibana restart. Add restart notifications 2019-09-17 12:43:47 +02:00
Jose M
9db41aac8c Add changed_when: false conditional to fix idempotence 2019-09-17 11:54:40 +02:00
Jose M
3680e6a3a3 Remove "Amazon" from conditional in remove repo task 2019-09-17 11:53:53 +02:00
Jose M
58b3b734be Bump version to 3.10.0_7.3.2 2019-09-16 18:10:28 +02:00
Jose M
fe23f2a97d Update Elastic templates for Elasticsearch and Filebeat 2019-09-16 18:09:12 +02:00
Jose M
3911b8e038 Remove old Elastic alerts template. 2019-09-16 18:08:53 +02:00
Jose M
ad0fde391e Fix Kibana enabling task description 2019-09-05 15:59:03 +02:00
Jose M
a15477300f Reload deamons to fix Kibana error on Amazon Linux 2 2019-09-05 15:57:02 +02:00
Rshad Zhran
c295ac2ea4 bump version for 3.9.5_7.2.1 2019-08-19 13:34:36 +02:00
Rshad Zhran
60f58e9938 completed 2019-08-16 20:09:08 +02:00
Rshad Zhran
7ab3f960c8 fixed some molecule errors 2019-08-16 19:23:46 +02:00
Rshad Zhran
cae6e96be6 changing default variables values 2019-08-16 14:43:29 +02:00
Jose M
cb5149c629 Fix Kibana APP installation by becoming user kibana 2019-08-16 14:20:19 +02:00
Rshad Zhran
da005fea58 removed Java installation tasks for SysV systems 2019-08-16 10:27:42 +02:00
Jose M
6259706755 Update kibana template 2019-08-08 17:43:50 +02:00
Jose M
7006f99209 Add import to kibana 2019-08-08 17:43:40 +02:00
Jose M
b2876d15e4 Update attributes, remove rsync parameters. 2019-08-08 17:43:30 +02:00
Jose M
3d3b3bc1d0 Fix permissions and add password option 2019-08-08 17:41:53 +02:00
manuasir
c171f3905b Bump version 2019-08-07 12:00:39 +02:00
Jose M
5ca2237264 Updated template to avoid hardcoding the ca format. 2019-08-05 15:06:04 +02:00
Jose M
af0e2f0756 Add copy block to import node's certificate with custom CA name 2019-08-05 15:05:49 +02:00
Jose M
09647b731b Fix typo in task name 2019-08-05 15:05:17 +02:00
Jose M
101a006178 Add folder verification and fix linting 2019-08-05 15:04:27 +02:00
Jose M
c547e90502 Add verification to ensure ca folder is created 2019-08-05 15:04:05 +02:00
Jose M
4b8303ece2 Fix custom CA generation command 2019-08-05 15:02:33 +02:00
Jose M
39d8e5978b Fix conditionals of custom CA 2019-08-05 15:01:59 +02:00
Jose M
01d4cfc128 Implemented tasks to import custom key and cert from Ansible master 2019-08-05 15:01:21 +02:00
Jose M
8234bb11d2 Add required variables to use custom CA. 2019-08-05 15:00:00 +02:00
Jose M
f8bda2f7c7 Move xpack_security tasks from main.yml to xpack_security.yml 2019-08-05 12:34:42 +02:00
Jose M
9580056b74 Fix naming on xpack security conditionals 2019-07-31 01:16:36 +02:00
Jose M
0cc4838e1d Copy certificates from master now depends on xpack enabled 2019-07-31 00:51:49 +02:00
Jose M
9734ac2304 Remove check_certs_permission parameter 2019-07-31 00:50:17 +02:00
Jose M
5c18d5bed5 Update conditionals 2019-07-31 00:49:43 +02:00
Jose M
1d8f8c5253 Fix shell comands 2019-07-31 00:49:25 +02:00
Jose M
2104183cdb Modify wait_for with previous variable 2019-07-31 00:48:20 +02:00
Jose M
45356ee3ef Delete certs.zip in generator node 2019-07-31 00:46:54 +02:00
Jose M
ed4b2e7947 Add unzip dependency installation 2019-07-31 00:46:22 +02:00
Jose M
d027092f63 Remove "elasticsearch_network" parameter 2019-07-31 00:45:57 +02:00
Jose M
af6e5cb816 Merge 3.9.4_7.2.0 2019-07-30 18:15:32 +02:00
Jose M
229f273e27 Fix Kibana APP installation by becoming user kibana 2019-07-30 17:36:31 +02:00
Jose M
2656feac52 Update kibana certs importing 2019-07-30 17:36:09 +02:00
Jose M
431bc16343 Add default value master_certs_destination for kibana 2019-07-30 17:35:39 +02:00
Jose M
fbbf79a153 Remove daemon reload and centos 6 blocks 2019-07-30 17:35:20 +02:00
Jose M
d877738d45 Removing unneeded blocks and commenting latest implementation for centos and trusty 2019-07-30 15:18:55 +02:00
Jose M
db44b6f450 Modified template to accept newly defined variables 2019-07-30 14:27:33 +02:00
Jose M
5d4e53b089 Modified task propagation of certificates 2019-07-30 14:27:10 +02:00
Jose M
337e3de09f Add master_certs_destination parameter 2019-07-30 14:26:15 +02:00
rshad
125b2114e6 changed elasticssearch: network.host from 0.0.0.0 to 127.0.0.1 2019-07-24 12:41:52 +00:00
rshad
fcb584ab20 fixed linting errors by refactoring ansible tests and change a variable name 2019-07-24 10:49:17 +00:00
rshad
8575aecc88 fixed the problem by adding a new variable to test the connectivity to Elastic 2019-07-23 19:36:09 +00:00
Rshad Zhran
14cd09a034 version bumping .. 2019-07-17 13:27:43 +02:00
Rshad Zhran
84c0df02dc Adapted: become: yes -> become:true 2019-07-17 12:58:44 +02:00
Rshad Zhran
2150d71a60 changing permissions 2019-07-17 12:21:19 +02:00
Rshad Zhran
687797a66c ignored Ubuntu Trusty in Testing 2019-07-16 17:23:09 +02:00
Rshad Zhran
fc38d565d9 fixed Elasticsearch installation's issues related to Idempotence test - Test passed successfully 2019-07-16 12:29:07 +02:00
Rshad Zhran
eb70809add fixed Elasticsearch installation's issues caused by the absense of Java in Ubuntu Trusty 2019-07-15 17:06:13 +02:00
Rshad Zhran
df428f5f52 fixed elasticsearch installation for Centos 6.* - Adding Java Installation 2019-07-15 14:04:13 +02:00