Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update agent installation #310

Merged
merged 3 commits into from
Nov 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/wazuh/ansible-wazuh-agent/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
wazuh_agent_version: 3.10.2
wazuh_agent_version: 3.10.2-1
wazuh_managers:
- address: 127.0.0.1
port: 1514
Expand Down
6 changes: 4 additions & 2 deletions roles/wazuh/ansible-wazuh-agent/tasks/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
when: ansible_os_family == "Debian"

- name: Linux CentOS/RedHat | Install wazuh-agent
package: name=wazuh-agent-{{ wazuh_agent_version }}-1 state=present
package:
name: wazuh-agent-{{ wazuh_agent_version }}
state: present
async: 90
poll: 30
when:
Expand All @@ -16,7 +18,7 @@

- name: Linux Debian | Install wazuh-agent
apt:
name: "wazuh-agent={{ wazuh_agent_version }}-1"
name: "wazuh-agent={{ wazuh_agent_version }}"
state: present
cache_valid_time: 3600
when:
Expand Down