Merge pull request #310 from wazuh/feature-309-update-agent-installation

Update agent installation
This commit is contained in:
Jose M. Garcia 2019-11-07 09:59:06 +01:00 committed by GitHub
commit 9878a2255f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
--- ---
wazuh_agent_version: 3.10.2 wazuh_agent_version: 3.10.2-1
wazuh_managers: wazuh_managers:
- address: 127.0.0.1 - address: 127.0.0.1
port: 1514 port: 1514

View File

@ -6,7 +6,9 @@
when: ansible_os_family == "Debian" when: ansible_os_family == "Debian"
- name: Linux CentOS/RedHat | Install wazuh-agent - 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 async: 90
poll: 30 poll: 30
when: when:
@ -16,7 +18,7 @@
- name: Linux Debian | Install wazuh-agent - name: Linux Debian | Install wazuh-agent
apt: apt:
name: "wazuh-agent={{ wazuh_agent_version }}-1" name: "wazuh-agent={{ wazuh_agent_version }}"
state: present state: present
cache_valid_time: 3600 cache_valid_time: 3600
when: when: