Rshad Zhran
fd4515ab16
Merge branch 'devel' into feature-359-agent-auth-groups
2020-03-23 19:38:02 +01:00
Rshad Zhran
aba02c801a
Merge branch 'devel' into feature-359-agent-auth-groups
2020-03-23 16:21:37 +01:00
Zenidd
ec481c790a
Fixing lint warnings
2020-03-23 15:37:52 +01:00
Zenidd
b67a5e5e97
Adding new registration_adress ansible var
2020-03-23 12:47:58 +01:00
Rshad Zhran
805695766c
Merge branch 'devel' into feature-359-agent-auth-groups
2020-03-20 22:04:54 +01:00
Rshad Zhran
c63756d541
Fix list check if it's empty
2020-03-20 21:35:18 +01:00
Zenidd
4b9fb53549
Removing readall perms in certs files. Minor syntax normalizations
2020-03-17 18:21:33 +01:00
Jose M
3b166ea617
Add flag to enable/disable Windows MD5 check
2020-03-09 15:07:21 +01:00
Jose M
2651bc5386
Revert "Merge pull request #381 from wazuh/remove_windows_md5_check"
...
This reverts commit 4cc3e077a0 , reversing
changes made to 52a81af988 .
2020-03-09 14:57:12 +01:00
Jose M
91948198a0
Revert "Merge pull request #381 from wazuh/remove_windows_md5_check"
...
This reverts commit 4cc3e077a0 , reversing
changes made to 52a81af988 .
2020-03-09 14:56:32 +01:00
Jose M
ab0a6aaaf3
Remove Windows MD5 verification
2020-03-09 14:08:12 +01:00
Jose M
4982b2868d
Fix conditionals error related with AL2 custom packages installation
2020-03-03 13:14:13 +01:00
Jose M
ac8a0c8308
Adapt Agent installation from custom packages to support RHEL/Centos 8
2020-03-02 22:43:15 +01:00
Jose M
4f8d3c6c0c
Remove traling whitespace in win_package task
2020-02-20 12:46:41 +01:00
Jose M
c32b1ed1bd
Change Window spackage occurences to adapt it to the new variables
2020-02-20 12:39:45 +01:00
Jose M
53cee9a7be
Fix trailing whitespace in RedHat.yml tasks from Agent
2020-02-19 18:11:39 +01:00
Jose M
8f0d54b274
Update Agent conditionals to make them work with custom packages install
2020-02-19 18:10:26 +01:00
Jose M
281d54557a
Create tasks to download and install Agent from .rpm and .deb packages
2020-02-19 18:09:48 +01:00
Manuel Gutierrez
abdbab9247
Fix auth path for 64bits Windows
2020-02-14 15:09:40 +01:00
Rshad Zhran
50ad3e07da
Remove trailing spaces
2020-02-11 17:56:06 +01:00
Rshad Zhran
e1b3156ee6
Add ability to register agent and assign it to groups
2020-02-11 16:16:15 +01:00
Jochen Schneider
5479fc5550
corrected repo key id parameter
2020-01-23 14:30:55 +01:00
Jochen Schneider
50964bd0f8
better naming for parameter kid
2020-01-21 11:57:33 +01:00
joschneider
6361eacbf0
repo gpg key id as a paramater
2020-01-21 10:56:59 +01:00
Jochen Schneider
c3cc763a5e
added key ID for download only when required
2020-01-16 11:58:05 +01:00
Rshad Zhran
7df74182f4
Fix conditional check for null variables
2019-12-17 11:50:28 +01:00
Jose M
8ef63f06eb
Fix Wazuh Agent name conditional in Linux.yml
2019-12-12 16:01:41 +01:00
Jose M
a25b7d9681
Fix conditionals related with Manager and API kind of installatioin
2019-11-26 14:55:57 +01:00
Jose M
b4352beda1
Add changed_when conditionals to avoid idempotence errors
2019-11-26 00:39:19 +01:00
Jose M
a4f68f6487
Remove molecule-idemptence-notest tag to fix Jenkins build
2019-11-25 20:04:28 +01:00
Jose M
3406109b33
Remove tags from "preloaded-vars.conf"
2019-11-25 19:35:23 +01:00
Jose M
fd50b60485
Fix linting
2019-11-25 19:01:02 +01:00
Jose M
fa0e3f1640
Fix cleanup tasks for Wazuh Manager and Agent
2019-11-25 18:54:21 +01:00
Jose M
9c2ce76f09
Fix linting
2019-11-25 18:44:00 +01:00
Jose M
dc0aa448d0
Implement blocks to cleanup old files
2019-11-25 18:11:09 +01:00
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
13b2321540
Rename wazuh_sources_installation to wazuh_manager sources_installation
2019-11-21 15:01:15 +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
571abfbb2c
Update untar task to pass linting, added comment
2019-11-20 19:00:53 +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
35d35b5059
Update tasks that download the Wazuh branch and extract it.
2019-11-20 14:59:38 +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
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
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
Manuel Gutierrez
0384bf6911
Switch agent to include_tasks
2019-11-11 16:07:00 +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
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