Hello All,
A question,
can I do an agent installation on solaris machines ?, using ansible
could you guide me in some way to install agents on servers, firewall or systems that do not have an already defined role, using ansible.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/5484b5ea-d2ef-4a62-8ae0-206b77c9710b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
El 01-08-2018, a las 11:41, jose.fe...@wazuh.com escribió:Hi Felipe,
Currently, we haven't add to ansible playbooks a registration process, instead you can run additional playbook similar to:---
######################### Managers #######################################
# Configure Wazuh-manager
- hosts: Managers
tasks:
- name: Starting authd
command: "/var/ossec/bin/ossec-authd"
- name: Starting wazuh-manager service
service:
name: wazuh-manager
state: started
######################### Agents #######################################
# Configure wazuh-agent
- hosts: Agents
vars:
template:
ip: "SET_MANAGER_IP"
tasks:
- name: Setting manager IP in agent
lineinfile:
path: /var/ossec/etc/ossec.conf
regexp: " <address>MANAGER_IP</address>"
line: " <address>{{ template.ip }}</address>"
- name: Starting authd in agent
command: "/var/ossec/bin/agent-auth -m {{ template.ip }}"
- name: Restarting wazuh-agent service
service:
name: wazuh-agent
state: restartedRemember to define hosts where to launch the playbook, in this example (Managers and Agents)
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/5484b5ea-d2ef-4a62-8ae0-206b77c9710b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/eb4ba9e8-685f-45c6-bfb8-0b42c19e74f7%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
The wazuh-ansible repo has two outstanding PR's which need review.If you manage to get it running on Solaris, please feel free to submit a PR to merge your changes.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/cf3d25a9-a2f6-443b-ac64-7bd80d870821%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/5484b5ea-d2ef-4a62-8ae0-206b77c9710b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/eb4ba9e8-685f-45c6-bfb8-0b42c19e74f7%40googlegroups.com.