Commit Graph

195 Commits

Author SHA1 Message Date
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
rshad
d08b013224 Kibana test is probably fixed, saving changes ... 2019-07-12 14:24:31 +00:00
rshad
5d006cbc3a adapted wazuh-manager installation so it takes into account the package version - Differentiating between CentOS/RedHat and Debian 2019-07-09 15:31:38 +00:00
manuasir
76372da8d9 Fetching tests and workarounds 2019-07-04 12:23:59 +02:00
manuasir
6609cc9aa7 Modifying variable names 2019-07-04 12:05:37 +02:00
Jose M
72894d4a25 Fix conditions error on ES, Kibana and Filebeat 2019-07-03 14:09:46 +02:00
Jose M
3f6226297b Add copy of certificates and folder permissions fix to Kibana. 2019-07-02 19:09:01 +02:00
Jose M
f52fb8cb9a Add kibana default variables 2019-07-02 19:08:31 +02:00
Jose M
7998f034b8 Include discovery seed hosts on boostraper node. 2019-07-02 19:08:09 +02:00
Jose M
5787b348fe Upgrade elasticsearch tasks. Fix permissions. 2019-07-02 19:07:37 +02:00
Jose M
e3cd8731f3 Fix instances and certs.zip checks and generation. 2019-07-02 10:47:32 +02:00
Jose M
2b18745cd0 Add XPack settings to Kibana template 2019-07-01 18:04:40 +02:00
Jose M
2656d89933 Add XPack default variables for Kibana 2019-07-01 18:04:26 +02:00
Jose M
ddc01dcc23 Add 'elasticsearch_xpack_security_user' to elasticsearth defaults 2019-07-01 18:04:03 +02:00
Jose M
ab8cdd13c6 Added task to remove certs file after propagation. 2019-07-01 16:07:10 +02:00
Jose M
fdb1113a19 Add task to configure ES bootstrap password. 2019-07-01 15:50:06 +02:00
Jose M
d78393115f Add default ' elasticsearch_xpack_security_password' variable 2019-07-01 15:49:38 +02:00
Jose M
db6f69cfb8 Rename importing blocks 2019-07-01 12:31:03 +02:00
Jose M
bd32839f27 Add Xpack http security to elasticsearch template. 2019-07-01 12:00:48 +02:00
Jose M
54885a9e0d Remove deprecated import of wazuh template. 2019-07-01 11:57:15 +02:00
Jose M
5d8286f0de Import ca certificate in remote nodes. 2019-07-01 11:53:19 +02:00
Jose M
2525dbd2af Copy .key and .crt in generator node (locally) 2019-07-01 11:52:25 +02:00
Jose M
a1e6dec7b4 Rename node_generate_certs in instances template. 2019-06-28 18:15:00 +02:00
Jose M
c27c3c16ab Enabled xpack security fields 2019-06-28 18:14:48 +02:00
Jose M
40b6979a29 Reorganized main.yml. Acded task to copy certs locally. 2019-06-28 18:14:36 +02:00
Jose M
1d718f55d3 Add default variables for Xpack and Rsync 2019-06-28 18:14:01 +02:00
manuasir
3ea96a8e8d Merge branch 'elk-sercurity-dev' of https://github.com/wazuh/wazuh-ansible into elk-sercurity-dev 2019-06-28 15:20:18 +02:00
manuasir
02e4bd951b Check if the certificates exist or not 2019-06-28 15:20:14 +02:00
Jose M
7fe831d6ee Remove quotes from node master option. 2019-06-28 14:56:43 +02:00
mohamed-aziz
19622360b1 Fix elasticsearch config bug requiring lowercase boolean value 2019-06-28 12:51:02 +01:00
Jose M
d3170139a0 Add xpack parameters to elasticsearch.yml 2019-06-28 12:51:01 +02:00
Jose M
e76dc5dcab Update main.yml to add rsync 2019-06-28 12:50:19 +02:00
Jose M
071e354fbd Adapted template to render nodes. 2019-06-28 10:40:30 +02:00
Jose M
4473c01032 Changed format of instances template. Name is required 2019-06-28 10:11:36 +02:00
Jose M
42fb6bf937 Get node master value for template. Rename cluster to discovery block. 2019-06-28 10:11:16 +02:00
Jose M
ed9b411b63 Add 'node_generate_certs' condition to shell block 2019-06-28 10:10:22 +02:00
Jose M
f0c6d0fcac Add elasticsearch_discover_nodes parameter 2019-06-28 10:09:39 +02:00
manuasir
48746b9f5a New task for generating instances.yml file 2019-06-26 19:37:02 +02:00
manuasir
090514b9c5 New tasks for checking instances.yml file 2019-06-26 19:05:46 +02:00
manuasir
7194675f02 Added new template for instances.yml file 2019-06-26 19:05:17 +02:00
manuasir
dda93ebd15 Added new conditions and variables to tasks 2019-06-26 18:52:58 +02:00
manuasir
0e9996b472 Added new variable for enabling xpack security 2019-06-26 17:01:06 +02:00