Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

vojtapolasek
Copy link
Collaborator

Description:

  • just replace systemd_service module with systemd
  • only in cases which affect rhel9 product

Rationale:

  • systemd is a redirect to systemd_service
  • but some older RHEL 9 versions do not accept the systemd_service module

Review Hints:

Try running the HIPAA Ansible playbook before and after the PR on RHEL 9.0.

@vojtapolasek vojtapolasek added this to the 0.1.78 milestone Aug 28, 2025
@vojtapolasek vojtapolasek added bugfix Fixes to reported bugs. Ansible Ansible remediation update. RHEL9 Red Hat Enterprise Linux 9 product related. labels Aug 28, 2025
compatibility with older ansible-core
currently applied only to rules appearing in RHEL 9 profiles
@vojtapolasek vojtapolasek force-pushed the stab_ansible_replace_systemd_service_with_systemd branch from 07b7ec6 to fb3056b Compare August 28, 2025 14:24
@Mab879 Mab879 self-assigned this Aug 28, 2025
@ggbecker ggbecker self-assigned this Aug 29, 2025
Copy link
Member

@ggbecker ggbecker left a comment

Choose a reason for hiding this comment

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

The service enabled template uses the short version, so this is quite safe already across every distribution:

@ggbecker ggbecker merged commit e75b60e into ComplianceAsCode:stabilization Aug 29, 2025
116 of 118 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ansible Ansible remediation update. bugfix Fixes to reported bugs. RHEL9 Red Hat Enterprise Linux 9 product related.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants