Commit Graph

479 Commits

Author SHA1 Message Date
Jose M
ce3dcf7abe Fix sources conditionals in Debian.yml tasks 2019-11-25 15:44:24 +01:00
Jose M
66ac8fea81 Fix naming copied from agent. Fix linting 2019-11-25 15:44:05 +01:00
Jose M
f60f218c88 Fix agent installation from sources. Update conditionals and includes 2019-11-25 15:43:38 +01:00
Jose M
cbad3e06a2 Fix sources conditionals for RedHat.yml 2019-11-25 15:43:10 +01:00
Jose M
32dd2e5df5 Rename "preloaded_vars" to "preloaded_vars_agent" 2019-11-25 15:42:56 +01:00
Jose M
d91ac23d8c Update Nodejs repo variables to make it flexible for deb and rpm 2019-11-25 15:42:23 +01:00
Jose M
5fd46ab9e4 Remove conditional from wazuh-api restart handler 2019-11-25 15:42:09 +01:00
Jose M
df56764dbd Add dpeendencies to Wazuh API. Update nodejs repo installation 2019-11-25 15:41:47 +01:00
Jose M
8d667131d9 Fix conditional for ssl_agent_ca 2019-11-25 15:41:06 +01:00
Jose M
bc4f36582a Remove unused tags from sources installation "include_tasks" 2019-11-25 15:40:48 +01:00
Rshad Zhran
565a84c49f Define variables in default/main.yml 2019-11-22 13:38:11 +01:00
Rshad Zhran
5fd5ddc61f Englobe tasks with same when statement in block 2019-11-22 13:16:28 +01:00
Rshad Zhran
376628a914 Define variable in default.yml instead of playbook 2019-11-22 13:14:48 +01:00
Rshad Zhran
c32d992f89 Re-order tasks 2019-11-22 11:39:08 +01:00
Rshad Zhran
902ee2a3d1 Add a task to check if nodejs already exists 2019-11-22 11:18:09 +01:00
Jose M
6ba58b6838 Add variables for Wazuh Api installation from sources 2019-11-21 18:46:11 +01:00
Jose M
9e6966b699 Fix conditionals for Debian families. Split Manager and API install 2019-11-21 18:45:45 +01:00
Jose M
380d4d1430 Update installation_from_sources conditionals and blocks 2019-11-21 18:45:25 +01:00
Jose M
628dcb2ccc Update conditonals and add required tasks to RedHat.yml 2019-11-21 18:45:01 +01:00
Jose M
7bf823bcad Split preloaded_vars into preloaded_vars_manager and api 2019-11-21 18:44:34 +01:00
Rshad Zhran
d85d210a3e Centralize NodeJS installation tasks 2019-11-21 16:12:08 +01:00
Jose M
13b2321540 Rename wazuh_sources_installation to wazuh_manager sources_installation 2019-11-21 15:01:15 +01:00
Rshad Zhran
686c02b3d5 Add task to check if node service already exists 2019-11-21 14:48:54 +01:00
Rshad Zhran
e2cee2e45d fix conditional statement when 2019-11-21 14:00:08 +01:00
Jose M
3acdd20dff Change Wazuh API build task to log info to "/tmp/build_wazuh_api_log." 2019-11-21 13:30:43 +01:00
Jose M
886e96b182 Update "main.yml" in Kibana installation to enable sources install 2019-11-21 13:29:58 +01:00
Jose M
2f8da1b7c5 Add "build_wazuh_plugin.yml" tasks 2019-11-21 13:29:03 +01:00
Jose M
320b373240 Add default variables to build Wazuh Kibana Plugin 2019-11-21 13:28:46 +01:00
Rshad Zhran
3c70bc5b2a Update NodJS installation tasks 2019-11-21 13:13:36 +01:00
Jose M
c64d331e7f Fix include_tasks for "installation_from_sources.yml" 2019-11-20 19:16:44 +01:00
Jose M
e3ecb74ca8 Move "installation_from_sources" include to Linux.yml 2019-11-20 19:09:40 +01:00
Jose M
9d62860ea1 Update "installation_from_sources" to fix linting errors 2019-11-20 19:06:48 +01:00
Jose M
571abfbb2c Update untar task to pass linting, added comment 2019-11-20 19:00:53 +01:00
Jose M
e0038118e1 Restore "creates" setting in Wazuh Kibana plugin installation 2019-11-20 16:49:54 +01:00
Jose M
da7cfa60b1 Restore "creates" setting in Wazuh Kibana plugin installation 2019-11-20 16:49:11 +01:00
Jose M
841fe3d28d Remove testing address in "user_agent_server_ip" 2019-11-20 16:39:57 +01:00
Jose M
c5f2893a0b Update tasks path in "Redhat.yml" 2019-11-20 16:38:02 +01:00
Jose M
a6d614610e Format updates for "installation_from_sources.yml" 2019-11-20 16:37:49 +01:00
Jose M
0329441817 Update tasks and conditioinals for Agent installations in Debian families 2019-11-20 16:37:27 +01:00
Jose M
2c9b18de72 Update ("user_update" and "branch") variables. 2019-11-20 16:36:56 +01:00
Rshad Zhran
4dd780504b Adapt NodeJS installation tasks in Debian 2019-11-20 16:33:14 +01:00
Jose M
3ae78e4e98 Merge branch 'feature-327-update-app-installation' into feature-324-support-sources-installation 2019-11-20 15:11:50 +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
d9cb1a24dd Implement "node_js_repository_url" variable 2019-11-20 15:02:18 +01:00
Jose M
9b6fd47e3a Add conditional to don't install Node repo when installing from sources 2019-11-20 15:00:50 +01:00
Jose M
35d35b5059 Update tasks that download the Wazuh branch and extract it. 2019-11-20 14:59:38 +01:00
Jose M
219b35c2ef Add API installation tasks to installation_from_sources.yml 2019-11-20 14:58:44 +01:00
Jose M
89557bdadd Update alerts template for Elasticsearch 2019-11-19 14:49:39 +01:00
Jose M
a90b241fb0 Remove deprecated API installation tasks 2019-11-19 12:19:32 +01:00
Jose M
9e4544ae42 Add template to configure "preloaded_vars" in Wazuh Manager role 2019-11-19 12:12:36 +01:00
Jose M
cc9f28719c Fix linting 2019-11-19 12:12:11 +01:00
Jose M
d3d0edc291 Add tasks to install from sources to Wazuh Manager 2019-11-19 12:12:03 +01:00
Jose M
95ee10d7a7 Add import of "installation_from_sources" for Debian and RHEL families 2019-11-19 12:10:32 +01:00
Jose M
cbc5de68ac Set "delete_dir" and "enable_active_response" to null in manager default 2019-11-19 12:09:56 +01:00
Jose M
b467a9e5c7 Fix linting for "Linux.yml" tasks in Wazuh Agent 2019-11-19 12:09:10 +01:00
Jose M
9258026c49 Update installation_from_sources.yml to pass linting 2019-11-19 12:08:42 +01:00
Jose M
c1b331be79 Update Wazuh Manager default vars related to sources installation 2019-11-18 16:04:13 +01:00
Jose M
b3a2fea6b9 UPdate wazuh-agent default settings related to sources_installation 2019-11-18 16:04:00 +01:00
Jose M
6a0c92294e Implement template for preloaded_vars.conf 2019-11-15 16:42:40 +01:00
Jose M
8ecbeff501 Update installation_from_sources.yml. Added installation conditionals 2019-11-15 16:42:27 +01:00
Jose M
46b4d34695 Update conditionals to use new variables 2019-11-15 16:41:28 +01:00
Jose M
df016d53c6 Add variables for wazuh installation from sources 2019-11-15 16:39:12 +01:00
Jose M
a3f4ed74ea Add installation_from_sources.yml tasks 2019-11-14 19:12:22 +01:00
Jose M
8e56076b9f Add conditionals to disable repo installation and install from sources 2019-11-14 19:11:59 +01:00
Jose M
2b4a1407a5 Add variables for sources installation 2019-11-14 19:11:28 +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
0384bf6911 Switch agent to include_tasks 2019-11-11 16:07:00 +01:00
Manuel Gutierrez
249f6b666d Use include_tasks to reduce unnecessary output 2019-11-11 15:55:16 +01:00
Manuel Gutierrez
c1141b1e73 Remove deprecation warning 2019-11-11 15:32:15 +01:00
Manuel Gutierrez
ee6daa79d7 Disable APT recommends 2019-11-11 15:08:50 +01:00
Manuel Gutierrez
7316af3db1 Move OS dependent tasks to its own file 2019-11-11 15:02:09 +01:00
Manuel Gutierrez
75c6ee2ea9 Update apt param format 2019-11-11 14:51:18 +01:00
Manuel J. Bernal
fe727b2db7
Merge pull request #316 from wazuh/feature-fix-api_user-task
Fix Wazuh-API User task conditionals. Removed exclusion of OS's
2019-11-11 13:08:17 +01:00
Jose M
63c5fcce08 Fix Wazuh-API User task conditionals. Removed exclusion of OS's 2019-11-11 11:32:44 +01:00
Manuel Gutierrez
e1f88c84f2 Enable allow-root flag for kibana-plugin 2019-11-07 17:59:29 +01:00
Jose M. Garcia
fbba2a1373
Merge pull request #313 from wazuh/feature-312-upgrade-apt-repo
Upgrade APT Wazuh repo
2019-11-07 09:59:33 +01:00
Jose M. Garcia
9878a2255f
Merge pull request #310 from wazuh/feature-309-update-agent-installation
Update agent installation
2019-11-07 09:59:06 +01:00
Manuel J. Bernal
93f2703c02
Merge pull request #311 from wazuh/feature-305-disable-openscap-default
Change "openscap.disable" to no in default Wazuh Agent variables
2019-11-06 18:23:21 +01:00
Manuel J. Bernal
b262dc5a75
Merge pull request #308 from wazuh/feature-307-update-manager-installation
Update Wazuh Manager installation tasks
2019-11-06 18:02:01 +01:00
Jose M
154e10912a Include apt repository name in debian task. Remove explicit "deb" 2019-11-06 17:38:24 +01:00
Jose M
ee7cf1a598 Change default repo.apt variable of Managers and Agents to include "deb" 2019-11-06 17:37:40 +01:00
Jose M
c657ebd50e Change "openscap.disable" to no in default Wazuh Agent variables 2019-11-06 17:28:11 +01:00
Jose M
0b62d85802 Fix linting: trailing whitespace 2019-11-06 15:30:46 +01:00
Jose M
357a21bed3 Update Agent installation tasks to remove "-1" sufix 2019-11-06 15:19:07 +01:00
Jose M
00f04dd4a4 Update wazuh_agent_version value 2019-11-06 15:18:49 +01:00
Jose M
cc18318590 Fix trailing whitespaces for linting 2019-11-06 15:07:56 +01:00
Jose M
d64b107fbb Update tasks related to manager installation. Remove -1, update state 2019-11-06 14:16:36 +01:00
Jose M
1c2d6d41ec Update default variables for manager version and package state 2019-11-06 14:16:14 +01:00
Jose M. Garcia
6050c84046
Merge branch 'devel' into feature-303-flex-app-url 2019-11-06 09:18:54 +01:00
Jose M
11fe7e81ba Fix trailing whitespaces for linting 2019-11-05 17:08:59 +01:00
Jose M. Garcia
451a74d94d
Merge branch 'devel' into feature-300-add-agent-restart 2019-11-05 17:07:53 +01:00
Jose M. Garcia
37333b5c34
Merge branch 'devel' into feature-298-update-agent-name 2019-11-05 16:58:18 +01:00
Jose M
27c332183d Add Amazon conditonal to RHEL/Centos 2019-11-05 16:51:41 +01:00
Jose M
1593e7fdc2 Fix syntax errors on Wazuh Agent installation conditionals 2019-11-05 16:50:26 +01:00
Jose M
c02885c2ad Update conditional in Redhat/Debian installation 2019-11-05 16:50:26 +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
e52a5dba4f Update windows register task to use new "agent_name" variable 2019-11-05 14:44:33 +01:00
Jose M
b6ccd7020e Add notify to Agent registration tasks to explictly restart it 2019-11-05 14:25:11 +01:00