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

various roles: Fix issue sap-linuxlab#556 for non-assert runs #562

Conversation

berndfinger
Copy link
Member

This commit makes the roles compatible with the following versions of ansible-core:

  • 2.16.1
  • 2.15.8
  • 2.14.12 when running in normal (=non-assert) mode.

The preconfigure roles also support an extended check mode, called assert mode, in which the roles do not change anything but verify if all settings are correct. This commit will not cover the assert mode. So several tasks of the preconfigure roles in assert mode will fail. By using the _assert_ignore_errors role parameters in assert mode, the roles will not fail but the affected tasks will not be executed so those settings will not be validated.

Relates to issues #555 and #556.

This commit makes the roles compatible with the following versions of
`ansible-core`:
- 2.16.1
- 2.15.8
- 2.14.12
when running in normal (=non-assert) mode.

The preconfigure roles also support an extended check mode, called
assert mode, in which the roles do not change anything but verify
if all settings are correct. This commit will not cover the assert
mode. So several tasks of the preconfigure roles in assert mode will
fail. By using the `_assert_ignore_errors` role parameters in assert mode,
the roles will not fail but the affected tasks will not be executed so
those settings will not be validated.

Relates to issues sap-linuxlab#555 and sap-linuxlab#556.

Signed-off-by: Bernd Finger <[email protected]>
Copy link
Contributor

@rainerleber rainerleber left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@ja9fuchs ja9fuchs left a comment

Choose a reason for hiding this comment

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

lgtm

@berndfinger berndfinger merged commit addfda4 into sap-linuxlab:hotfix-cve-2023-5764 Dec 22, 2023
1 check passed
@berndfinger berndfinger deleted the issue556-fixes-for-default-mode-into-main-branch branch December 22, 2023 18:53
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.

3 participants