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

chore: separate vars by distro, fix FD plugin integration #3

Merged
merged 19 commits into from
Feb 12, 2024

Conversation

adf-patrickha
Copy link
Member

@adf-patrickha adf-patrickha commented Feb 2, 2024

  • Fix FD Plugin integration to support multiple different distributions and different kind of plugins.
  • Separate vars by distribution according to Adfinis Ansible Guide

Refs: https://adfinis.github.io/ansible-guide/roles_collections.html#variables

@adf-patrickha adf-patrickha changed the title chore(vars): separate vars by distro chore: separate vars by distro, fix FD plugin integration Feb 12, 2024
@adf-patrickha adf-patrickha self-assigned this Feb 12, 2024
@adf-patrickha adf-patrickha marked this pull request as ready for review February 12, 2024 12:21
@adf-patrickha adf-patrickha marked this pull request as draft February 12, 2024 12:28
@adf-patrickha
Copy link
Member Author

Back to draft. The rendered FD config (/etc/bareos/bareos-fd.d/client/myself.conf) is not rendered correctly.

instead of doing a convoluted loop to compare the lists between
host_vars and the role vars, just use the
vars once, as all plugins use the same values anyway. only the FileSet
on the Director's side has to differ per plugin.

Refs: https://docs.bareos.org/TasksAndConcepts/Plugins.html#file-daemon-plugins
@adf-patrickha adf-patrickha marked this pull request as ready for review February 12, 2024 13:47
@adf-patrickha
Copy link
Member Author

OK, should finally be ready to review. @fadnincx can you have a look?

molecule/default/verify.yml Show resolved Hide resolved
vars/RedHat.yml Show resolved Hide resolved
Copy link

@fadnincx fadnincx left a comment

Choose a reason for hiding this comment

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

LGTM

@adf-patrickha adf-patrickha merged commit b23d556 into master Feb 12, 2024
26 checks passed
@adf-patrickha adf-patrickha deleted the update_vars branch February 12, 2024 16:32
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.

2 participants