Skip to content

Conversation

@marcelmamula
Copy link
Contributor

Fixes for ansible-lint that is updated as part of #1118

Changes

  • replace module yum with package.
    • disable_gpg_check: true is not recognized by package module, but it is sent to underlying package manager. Tested on SLES with zypper.
  • Replace all internal register variables with correct internal name __sap_hostagent_register_

Result

ansible-lint --version
ansible-lint 25.9.0 using ansible-core:2.19.2 ansible-compat:25.8.1 ruamel-yaml:0.18.14 ruamel-yaml-clib:0.2.12

ansible-lint roles/sap_hostagent/

# Before
Failed: 11 failure(s), 0 warning(s) in 11 files processed of 13 encountered.

# After
Passed: 0 failure(s), 0 warning(s) in 13 files processed of 15 encountered.

@marcelmamula marcelmamula self-assigned this Sep 26, 2025
Copy link
Member

@berndfinger berndfinger left a comment

Choose a reason for hiding this comment

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

LGTM

@marcelmamula marcelmamula merged commit 2c01d26 into sap-linuxlab:dev Sep 29, 2025
9 checks passed
@marcelmamula marcelmamula deleted the linting_hostagent branch November 24, 2025 13:29
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