-
-
Notifications
You must be signed in to change notification settings - Fork 102
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 request for Common tasks & vars - make section names more sensible #1757
Comments
Going through the CentOS.yml:
Debian.yml:
MacOSX.yml:
RedHat.yml:
SLES.yml:
Ubuntu.yml:
OpenSUSE.yml:
The other yml files don't appear to have anything confusing. |
So, how best to name these sections so that they're still correct once a subsequent release is available? Also we need to be careful to ensure that the limits coded in the corresponding task do actually match the meaning. I'm inclined to suggest that if a section genuinely applies to just one specific release (and not the older or newer ones) then it should be named: How best to name (and code) something that comes into play at a certain release? If the task applies to RHEL6, & 7 but not later - maybe call it
While a task for RHEL8 (and subsequent releases) might be
Thoughts? Preferences? Alternatives? |
I like the idea of |
I'm definitely not going to advocate trying The other option would be to just not use the We also need to go back and figure out what the |
+1 on the |
Goodness no - me neither! I was looking for something shorter than (but equivalent to) "less than", "greater than", etc. and having trouble making them consistent. "GT", "GE", "LT", "LE" plus the release number would work perfectly - dunno why I didn't think of that. Would you want to go the whole hog and use "EQ" and "NE" as well, or are "ONLY" and "NOT" still acceptable? Some of the tasks files do already have tasks for odd packages here and there... personally, I quite like the variables lists as being easier to see the wood from the trees. All of those sections do need further examination.... why are they split out, what are they required for, and do they only apply to the release they state or future ones too? |
Details:
As discussed with @sxa in PR #1743 , some of the labels to the section lists could be misleading in future when further releases are available. Raising this as an issue to get some agreement on what the names ought to be.
In particular, he raised that in
roles/Common/vars/Redhat.yml
the labelAdditional_Build_Tools_NOT_RHEL8
will likely apply to future releases also, by which time the name will no longer be entirely accurate. The same can be said for some of the other sections, and the other distros also.If the labels in the vars files are changed, then the corresponding tasks also need to be changed to match.
In addition, it would be helpful if each task had its own individual tag as well as the broader
build_tools
to help with re-running smaller parts of the playbook when debugging.The text was updated successfully, but these errors were encountered: