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

Custom name for single agent registration #117

Merged
merged 2 commits into from
Jan 10, 2019
Merged

Conversation

cadoming
Copy link
Contributor

Hi team,

This PR solve the Issue #91, this issue was requested by the user @colbyprior in the PR #68. Thank you @colbyprior for the idea and helping us improve the repository.

The aim of this PR is to add the possibility, during the installation of a single agent, to name the agent with a desired name. The custom name has to be entered through the command line by adding --extra-vars "single_agent_name =custom_name" if we don't enter this command the agent will be installed with its default name.

For example, in a single agent installation with a default named debian-1:

  • ansible-playbook wazuh-agent.yml --extra-vars "single_agent_name =custom_name" --> custom_name
  • ansible-playbook wazuh-agent.yml --> debian-1

Regards,
Carlos

Copy link
Contributor

@LuisGi93 LuisGi93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @cadoming, thanks for your contribution!. I have reviewed your PR and works perfecly. Could be merged.
Regards.

@cadoming cadoming merged commit c50d2b3 into 3.7 Jan 10, 2019
@colbyprior
Copy link

Thanks so much for this!

@jesuslinares jesuslinares deleted the Issue_91-single_agent_name branch January 14, 2019 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants