Gonzalo Acuña
795953e166
Debian dependencies update
2022-10-19 11:38:39 -03:00
Gonzalo Acuña
0430b443cc
Braces removed from include vars condition
2022-07-29 08:21:13 -03:00
Gonzalo Acuña
e26945bc11
Wazuh agent and manager version updated
2022-06-24 10:07:40 -03:00
José Fernández
31e1fa1656
Disable become root in delegated task
2022-05-09 15:33:09 +02:00
Gonzalo Acuña
111a6c9070
Get latest release updated for Agent role
2022-05-04 10:08:10 -03:00
Gonzalo Acuña
31d3cd64d1
Repositories variables unified
2022-04-26 09:59:33 -03:00
tinyblargon
e5c4c4a8b6
Ensure group "wazuh" exists
2021-11-18 19:42:01 +01:00
tinyblargon
6358c4b8b6
Add gnupg to list of installed applications
2021-11-18 15:00:46 +01:00
Nicolas Lastra
4b774dfeb3
merge de 4.2 a master
2021-10-01 12:24:53 -03:00
José Fernández
f424be98e1
Changed APT repository removal variable
2021-08-06 13:29:46 +02:00
hagassaan
79fbb2a457
adding acl to debian/ubuntu installation
2021-07-15 14:29:46 +07:00
VictorMorenoJimenez
3232b6802b
Change win_template to template, due to permission WinRMError
2021-04-22 16:55:41 +02:00
Victor Moreno Jimenez
f1f137a9d2
Working in #546 . Rename users and group according to Wazuh standard
2021-04-14 08:10:15 +02:00
Sergio García
f54c0268c7
Change /var/ossec references to wazuh_dir var
2021-01-21 14:46:34 +01:00
Sergio García
3aa90efed4
Change /var/ossec to user_dir var
2021-01-20 11:09:58 +01:00
neonmei
22bc08e190
roles/wazuh-agent: change all delegate_to REST conditionals to be uniform
2020-11-26 16:35:41 -03:00
neonmei
4d2e493cef
roles/wazuh-agent: fix erroneous usage of ansible_host instead of inventory_hostname
2020-11-26 16:34:25 -03:00
neonmei
58167dbd1f
roles/wazuh-agent: add message explaining when auto-enrollment registration path is fired or not
2020-11-23 12:18:56 -03:00
neonmei
1df3ef8699
roles/agent: for registration rename check_keys->client_keys_file for more clarity, update conditionals length checks to explicit "yes" check
2020-11-23 11:38:07 -03:00
neonmei
a28837a74d
roles/agent: in rest registration method, update manage_agents task
2020-11-23 11:32:01 -03:00
neonmei
a4c4b6cd32
roles/agent: refresh agent validation in rest registration method
2020-11-23 11:29:34 -03:00
neonmei
d4092bf686
roles/agent: update agent registry task with token, nolog and remove when, as it is checked on every task, shuld be applied to block
2020-11-23 11:28:37 -03:00
neonmei
5f6973d8d2
roles/agent: add task for fetching jwt token
2020-11-23 11:25:31 -03:00
neonmei
332ee7ae8b
roles/agent: add task for determining which wazuh_managers to use through register: yes instead of just grabbing the first one on the list, otherwise fallback to first in the list
2020-11-23 11:24:43 -03:00
neonmei
874e8a08d0
Merge branch 'feature-role-wazuh-manager-vars'
2020-11-20 14:55:44 -03:00
neonmei
7fc29b720f
roles/wazuh-agent: remove async from install task and introduce a lock timeout configurable by wazuh_agent_yum_lock_timeout
2020-11-20 12:37:20 -03:00
neonmei
7dc67986d4
roles/wazuh-agent: change package module to yum, as platform is already checked on when
2020-11-20 12:29:08 -03:00
zenidd
64cc04f5b0
Merge master changes
2020-11-13 16:55:47 +01:00
neonmei
8b26658374
roles/wazuh-agent: expand task declaration for clarity
2020-11-12 14:39:17 -03:00
neonmei
0bbdf231f2
roles/wazuh-agent: remove "is defined" conditionals, as authd_pass is now part of roles default, now check is only against length
2020-11-12 14:34:57 -03:00
neonmei
bab8279f73
roles/wazuh-agent: remove include_vars tasks
2020-11-12 14:29:01 -03:00
neonmei
6f5f1106b3
roles/wazuh-agent: add missing mode for file task
2020-11-12 11:42:19 -03:00
neonmei
7634f8cf9b
roles/wazuh-agent: add noqa 208 exception for Windows template task
2020-11-12 11:42:15 -03:00
neonmei
55d3039519
roles/wazuh-agent: change comparison to literal bool
2020-11-12 11:42:11 -03:00
zenidd
9cac95729b
Set empty authd pass
2020-10-23 14:04:18 +02:00
zenidd
2f33aa20c5
New major version fixes
2020-10-23 13:21:32 +02:00
zenidd
583f38f19c
Merge master changes
2020-10-20 17:44:26 +02:00
Manuel J. Bernal
6a6fb15654
Remove vuls block from Linux tasks
2020-10-07 17:03:28 +02:00
Manuel J. Bernal
54443102f7
WIP: auto-enrollment implementation
2020-09-01 22:55:53 +02:00
Manuel J. Bernal
e310b7b766
Fixed check_mode when condition
2020-07-23 12:32:47 +02:00
Manuel J. Bernal
3b87adf8a3
Merge pull request #194 from dsroark-dt/async_ignore_check_mode
...
ignore check mode for async tasks
2020-07-21 19:06:05 +02:00
Hadrien
d6f3d91a46
update check on windows wazuh_agent_authd.agent_name's definition
2020-06-29 18:54:37 +02:00
Manuel J. Bernal
2212adb5bf
Merge branch 'devel' into wazuh-agent-fixes
2020-06-19 16:25:09 +02:00
Manuel J. Bernal
fdc3b0f55c
Lint changes
2020-05-14 18:13:53 +02:00
Manuel J. Bernal
8b278f316b
Merge branch 'feature-126-delegate-registration' into 126-agent-registration
2020-05-12 21:47:29 +02:00
Christos Pollalis
ae40cb4582
Split "Copy CA, SSL key and cert for authd" task
...
of the wazuh-agent playbook to allow one to perform either manager
or agent verification, or both.
2020-04-11 18:26:13 +03:00
Christos Pollalis
f6e020631e
Make agent registration via the rest API idempotent
...
Check whether an error was returned by the HTTP POST to the `agents/`
endpoint before invoking `/var/ossec/bin/manage_agents` in order to
register a new agent.
It seems like that if an agent has already been registered under the
given name, the HTTP POST will return an error that'll cause the next
task, which is meant to retrieve the agent information, to be skipped.
That'll cause the agent registration task to fail in return. Instead,
this change will cause the aforementioned task to be skipped, too. So,
if an agent has already been successfully registered and the playbook
is re-run, it'll run all the way to the end.
If anything goes wrong (during the registration process) and the agent
fails to start, the `restart wazuh-agent` handler will still fail.
2020-04-11 02:15:42 +03:00
Zenidd
584950532f
Replacing Oracle Java with OpenJDK 1.8
2020-04-07 11:41:00 +02:00
Jose M. Garcia
67305df536
Merge branch 'devel' into async_ignore_check_mode
2020-03-31 12:37:53 +02:00
Manuel J. Bernal
0936d47786
Merge branch 'master' into wazuh-release-v3.12.0_7.6.1
2020-03-24 19:20:51 +01:00