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 MVP - Development of the main installation playbook(s) #1491

Open
YisDav opened this issue Dec 20, 2024 · 0 comments
Open

Ansible MVP - Development of the main installation playbook(s) #1491

YisDav opened this issue Dec 20, 2024 · 0 comments

Comments

@YisDav
Copy link
Member

YisDav commented Dec 20, 2024

Description

The main objective of this step is to develop the main installation playbooks for the Wazuh deployment.

  1. wazuh-distributed.yml
  2. wazuh-aio.yml
  3. wazuh-agent.yml

Each playbook will be designed to facilitate the installation and configuration of Wazuh components efficiently. However, the setup must follow the OOB approach.

Check the Spike Diagrams.

Considerations

It is still is missing the definition of:

  • where is going to be implemented the logic for the generation of the variables-file (with the packages urls) that is going to be used by the roles.
    Must be usable by the roles (as each role is going to download and install its package)

  • Proposal

    • Create a role which its purpose will be :
      • To download the corresponding (prod, stage or dev) URLs file

      • To read the file, process it [replace tokens, loop through URLS, create variable names with a nomenclature], and generate ansible vars file.

      • To place the ansible vars file in a defined path and a fixed name

        Path: wazuh-ansible/path/to/var/file.ymk

      • Import the variable file at the start of the tasks/main.yml of each role to import variables file with packages urls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant