-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add manager and agent roles #68
base: 57-add-provisioning-roles
Are you sure you want to change the base?
Conversation
This commit adds the initial provisioning structure with the manager role (with its playbook, tasks, etc.). This allows to install the any manager version using custom packages or repo. Note: When using the repo it uses `4.x` gpg, we should discuss if we want to extend the support
@roronoasins Please fix the linter errors |
yum: 'https://packages.wazuh.com/4.x/yum/' | ||
gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH' | ||
key_id: '0DCFCA5547B19D2A6099506096B3EE5F29111145' | ||
wazuh_winagent_repo_pkg_url: "https://packages.wazuh.com/4.x/windows/wazuh-agent-{{ wazuh_agent_version }}-1.msi" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you specify the 4.x
version in the URL? What happens if you want to test another version, 3.x
for example?
@@ -0,0 +1,3 @@ | |||
packages_repository: production | |||
manager_production_version: 4.4.4 | |||
agent_production_version: 4.4.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same previous comment
Description
This PR adds a first roles structure to the framework within a new folder,
provisioning
.OS support:
The installed version is the latest from production by default. If you provide another one using
packages_version
it installs that version using the repo.You can enable the custom packages by setting
wazuh_custom_packages_installation_agent_enabled
to true using the inventory and providing the package url.Add