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

Refactor task names for clarity and consistency across Icinga2 role #364

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

lutin-malin
Copy link

@lutin-malin lutin-malin commented Mar 12, 2025

Hi icinga team,
I've been trying to troubleshoot a deployment issue (only on my side) and ended up looking at your collection.
I found some improvments to be performed, so i took the freedom to give it a try.
Here you find my proposal.

In a nutshell, i have :

  • moved all modules call to fqdn
  • prefixed internal variables with __icinga2 to reduce its exposure to extern variable or any unwanted superseed
  • implemented the argument_specs for role variable validation
  • done some linting
  • rearranged the defaults/vars where applicable.

I carefully bear attention to not touch the business logic being executed.

Also, this would be the 1st stone to build automated documentation for antsibull and ansible-doc. (cf #321 )

So far, i've done it only on the icinga2 role.
If this suits you, i could do further on the remaining roles.

Let me know your thoughts.

Copy link

cla-bot bot commented Mar 12, 2025

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Guillaume FAUVEL.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

Copy link

cla-bot bot commented Mar 12, 2025

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Guillaume FAUVEL.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

Copy link

cla-bot bot commented Mar 12, 2025

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Guillaume FAUVEL.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@lutin-malin
Copy link
Author

@bobapple you can retrigger the cla-bot here as well

@bobapple
Copy link
Member

@cla-bot check

Copy link

cla-bot bot commented Mar 20, 2025

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Guillaume FAUVEL.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@bobapple
Copy link
Member

Seems like there's a misconfiguration in your git client. If you follow the steps from cla-bot you should be able to fix it.

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