-
Notifications
You must be signed in to change notification settings - Fork 59
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
sap_hana_preconfigure: update kernel parameters for SLES #638
Conversation
@Wabri I'm good with this, but before I approve - did you want to break it down so GRUB options can be altered independently? These are Ansible Tasks that apply to SUSE family already: |
@sean-freeman done, needed to change the condition on the |
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.
lgtm 👍
@Wabri Please add me as a reviewer for all preconfigure roles, for sap_hana_install, and sap_swpm. Also, add a comment before the line in which you implement
best practice in this chapter).
|
- remove a trailing space - add a `noqa no-changed-when` in order to prevent a false-positive of the linting
@berndfinger good catch, I've update with |
Some experiments using handlers
c4ab092
to
6fcc1a1
Compare
a63e0ab
to
1179289
Compare
@sean-freeman @berndfinger I've try a different approach to solve the problem using the meta module (https://docs.ansible.com/ansible/latest/collections/ansible/builtin/meta_module.html) and trigger the grub2 update only if one item cause the change of the grub configuration. Let me know if it's clean enough for both of you. |
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.
lgtm 👍 novel way of achieving the outcome, cool
Interesting use of meta module, but can you retest it few times and inside of wrapper? I had to switch to use pause module for debugging instead of meta: end_play because of that. |
9b5bcd9
to
43167ee
Compare
Closes #337