Commit Graph

158 Commits

Author SHA1 Message Date
Jose M
154e10912a Include apt repository name in debian task. Remove explicit "deb" 2019-11-06 17:38:24 +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
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
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
Jose M
e531427df0 Fix syntax error on Register agent task 2019-11-05 13:38:08 +01:00
Jose M
5af556b72c Update Wazuh Agent registration task with new "agent_name" var 2019-11-05 12:49:21 +01:00
Jose M
f36d8be92e Fixing repo_v5 | skipped ocurrences. Updating to new format 2019-11-05 10:35:59 +01:00
Jose M
fd0d51bc52 Change Agent repository condition to .skipped like manager task 2019-10-28 20:53:14 +01:00
Jose M
3bedf74055 Fix wrong conditionals in repo installation tasks 2019-10-28 11:50:55 +01:00
Jose M
afff33941d Update RedHat tasks to use dynamic repo urls from variables 2019-10-28 10:02:41 +01:00
Jose M
8a69a6e922 Update Debian repositories to use dynamic urls from default variables 2019-10-28 10:02:07 +01:00
Jose M
e36e1f4b23 Merge branch 'master' into devel 2019-10-02 10:07:03 +02:00
Jose M
b9695dc905 Remove product_id parameter from windows Agent. Update md5 2019-10-02 09:44:56 +02:00
Manuel Gutierrez
65ba7e088f Add config tag to the enable service task 2019-09-27 18:39:21 +02:00
Jose M
bb591ee466 Remove traling whitespace on line 12 to fix ansible-linting error. 2019-09-09 17:13:33 +02:00
Jose M
78ca9ff616 Remove hardcoding of wazuh-agent 'product_id' 2019-09-09 13:09:51 +02:00
Jose M
be977fa9ac Update task handler naming to a more explicit message 2019-09-09 13:07:03 +02:00
Jose M
1ad5763e00 Add verification for the wazuh directory path. 2019-09-09 13:06:42 +02:00
Jose M
a52d5e540c Modify registration task to use new fact "wazuh_agent_win_auth_path" 2019-09-09 13:05:40 +02:00
Jose M
ea69b7fc9b Update Wazuh installation tasks. Added Product key to avoid reinstalling Agent 2019-09-09 13:04:45 +02:00
Jose M
9f84bfe15a Update Windows x86 and x64 path detection. Added fact for authd. 2019-09-09 13:03:03 +02:00
Jani Heikkinen
8db9700f02 added wazuh_agent_nat boolean variable for agents behind nat 2019-07-18 09:00:39 +00:00
Rshad Zhran
2150d71a60 changing permissions 2019-07-17 12:21:19 +02:00
rshad
873e9759ae Versioning and Ansible-Linting fixes are introduced to wazuh-agent and filebeat installations and testings 2019-07-12 13:06:02 +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
rshad
a48169d53f modified molecule.yml for wazuh-agent and elasticsearch - Lint 2019-07-08 09:27:01 +00:00
Devin Roark
72ccac8518 ignore check mode for async roles 2019-06-27 09:32:10 -04:00
jm404
bcd535351b Adding openjdk repository for Ubuntu 14.04. 2019-04-30 16:59:29 +02:00
jm404
2716f2c7bf Fixed conflicts. 2019-04-29 17:42:48 +02:00
Werner Dijkerman
af758690a1 Added molecule test for the Wazuh Agent 2019-04-27 15:26:18 +02:00
l
9e22760911 Fixing whitespaces 2019-04-24 17:41:27 +02:00
l
b84aecfa67 Fixing syntax error at Debian tasks 2019-04-24 17:30:40 +02:00
l
a29eb8faf4 Using OpenJDK for cis-cat and for elastic at Debian based distros 2019-04-24 16:45:29 +02:00
Manuel J. Bernal
07dacae92d
Merge pull request #110 from wazuh/3.7-concurrent-packages
Installing concurrent apt packages
2019-04-01 17:30:30 +02:00
l
a9344cf181 Using list instead of iterating over one to install packages 2019-04-01 12:23:48 +02:00
cadoming
61260986c0 fixed java path 2019-01-16 16:16:06 +00:00
Carlos Dominguez
492c25eeaf
Merge pull request #133 from singuliere/agent-cleanup
cleanup: move redundant tags to the outer block
2019-01-11 15:20:05 +01:00
singuliere
7cce8e9490
make agent registration delegate_to configurable
Registering to the API requires the port 55000 of the wazuh manager is
open. Depending on the firewall policy, it may be true from the
ansible controller, reason why it was delegated to localhost in the
original implementation at 6cb6d3bda8

The role should be more flexible and allow for the API call to be made
from the ansible controller or the host.

Implementation note: although it would be more elegant to use omit
instead of inventory_hostname, it is not possible because of an
ansible bug at this time https://github.com/ansible/ansible/issues/26009

Fixes: https://github.com/wazuh/wazuh-ansible/issues/126

Signed-off-by: singuliere <singuliere@autistici.org>
2019-01-10 17:24:23 +01:00
Carlos Dominguez
c50d2b3828
Merge pull request #117 from wazuh/Issue_91-single_agent_name
Custom name for single agent registration
2019-01-10 12:09:46 +01:00
singuliere
d33b5c90c3
cleanup: move redundant tags to the outer block 2019-01-10 10:01:06 +01:00
Carlos Dominguez
e94a0cf473 change installation directory (#116) 2018-12-27 12:52:27 +01:00
cadoming
b5dd470c2c custom name for single agent registration 2018-12-27 10:49:34 +00:00
manuasir
96390a2d46 Installing apt packages concurrently, related #109 2018-12-19 10:22:40 +01:00
cadoming
bdf913453e Added windows task 2018-11-16 10:34:41 +00:00
cadoming
8ef5e65eb7 include template local_internal_options.conf 2018-11-14 12:13:58 +00:00
AlfonsoRBJ
62938ff894
Merge pull request #71 from wazuh/Amazon-Linux-support
Support for Amazon Linux added
2018-11-12 16:41:29 +01:00
AlfonsoRBJ
fcf7bf4b00
Merge pull request #79 from wazuh/PR-54_new_structure
client.keys registration triggers
2018-11-12 14:13:04 +01:00
root
5298084a62 client.keys registration triggers 2018-11-06 10:48:02 +00:00
root
dcd7b1a6fd agent and manager grouping task 2018-10-31 10:49:45 +00:00
AlfonsoRBJ
2c4c6fc59c Support for Amazon Linux added
Logstash bug fixed for single server installation on Amazon Linux
2018-10-19 16:40:13 +02:00
Jesús Linares
1bd21e381b
Restructure repository (#66) 2018-10-04 12:40:10 +02:00