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

Ansible Collection #545

Open
keilr opened this issue Feb 9, 2021 · 8 comments
Open

Ansible Collection #545

keilr opened this issue Feb 9, 2021 · 8 comments

Comments

@keilr
Copy link

keilr commented Feb 9, 2021

I'm new to Wazuh and I was very happy to see this official Wazuh Ansible repository! Great work!

It would be nice to enhance this project by aligning it to the Ansible collection format, so one can easily install the playbooks and roles by using the Ansible Galaxy cli-tool. Roles could be accessed by name instead of paths. Adding it to the Ansible Galaxy repository should be considered.

Installation

From galaxy ...

ansible-galaxy collection install wazuh.wazuh

... or from github repo and stable branch

ansible-galaxy collection install git+https://github.com/wazuh/wazuh-ansible.git,stable   

(requires ansible>=2.10)

Using Roles

---
- hosts: host001
  roles:
    - wazuh.wazuh.agent
  vars:
    wazuh_managers:
      - address: ...
    ...
@filicivi
Copy link

filicivi commented Apr 7, 2021

+1 for this.

@viswork
Copy link

viswork commented Apr 7, 2021

+1

@wickedviking
Copy link

wickedviking commented Apr 8, 2021

+1

We just stood this up in our lab to evaluate and are planning to move forward shortly. We have forked this project into our internal gitlab, but I agree, this would be much nicer to use/manage if it were a collection... especially if you publish this to the galaxy.

@colans
Copy link

colans commented Oct 14, 2021

It probably makes sense to keep #325 for publishing and this one for reformatting the repository. Therefore, the other ticket needs to wait until this one gets in.

Aside: Instead of posting "+1"-style comments (which only serve to spam subscribers), please hit the "thumbs up" button at the bottom of the description as this provides useful data on how many folks are interested. Thanks!

@colans
Copy link

colans commented Oct 29, 2021

@gcupic Please (re)read the second paragraph of my comment above. Thanks.

@okynos
Copy link
Contributor

okynos commented Nov 12, 2021

Hello guys,

We are working hard to maintain and improve our repositories day by day and we will work on this matter as soon as possible.
Feel free to give us a hand with PRs and code modifications to solve this matter.

Thanks for your patience!

@darkdecoy
Copy link

darkdecoy commented Oct 25, 2022

I have been working on turning the 4.3 branch into an ansible collection containing the roles and playbooks. I have tested the all in one deployment and deploying agents and both of those work.

https://github.com/atcommander/wazuh

I created a pull request 855

@colans
Copy link

colans commented Oct 28, 2022

@okynos Would one of you folks be able to take a look at #855 and possibly approve the workflow so that CI tests can run? Thanks!

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

No branches or pull requests

7 participants