-
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_general_preconfigure: Don't ignore DNS A/PTR record inconsistencies, this should fail the check is negative #765
Conversation
collection: merge dev to main for release 1.4.1
roles/sap_general_preconfigure/tasks/RedHat/generic/check-dns-name-resolution.yml
Outdated
Show resolved
Hide resolved
roles/sap_general_preconfigure/tasks/RedHat/generic/check-dns-name-resolution.yml
Outdated
Show resolved
Hide resolved
Would suggest the Ansible Tasks are updated as suggested in #743 to correctly indicate to the end-user, that
Otherwise I'd say this PR is an easy one to merge 👍 |
We should not include one specific DNS name resolution method because there are other methods which do not rely on an entry in /etc/resolv.conf. But I agree that the task names can be more detailed, as in:
Just for the records: This check can be skipped by using the tag |
ignore_errors: true | ||
#ignore_errors: true | ||
register: __sap_general_preconfigure_register_dns_test_a | ||
failed_when: __sap_general_preconfigure_register_dns_test_a.rc != 0 | ||
|
||
### BUG: dig does not use search path in resolv.con on PPCle |
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.
typo: resolv.con -> resolv.conf
roles/sap_general_preconfigure/tasks/RedHat/generic/check-dns-name-resolution.yml
Outdated
Show resolved
Hide resolved
@berndfinger @sean-freeman I've updated it again to improve the text based on the latest recommendation from both of you. Is this acceptable now? |
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 👍 Would prefer mention of DNS Resolver is what is being verified, but I'm not going to hold up a simple fix for such acute purposes
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
Also included a minor task description change to make it clearer what has failed.