Make sure not to run ansible procedure in check mode by teacup-on-rockingchair · Pull Request #14395 · ComplianceAsCode/content

@teacup-on-rockingchair

Description:

  • Minor patch in ansible remediation for aide_periodic_checking_systemd_timer

Rationale:

  • Make sure that ansible remediation proc in aide_periodic_checking_systemd_timer is not executed in check_mode

@openshift-ci

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@jan-cerny

@teacup-on-rockingchair Why shouldn't these tasks be run in check mode? Does it produce any problems or fails? What specific failure did you encoutner? Ansible's systemd module already supports check mode natively. When Ansible runs in check mode, the tasks would report what would change without actually making changes.

@teacup-on-rockingchair

@teacup-on-rockingchair Why shouldn't these tasks be run in check mode? Does it produce any problems or fails? What specific failure did you encoutner? Ansible's systemd module already supports check mode natively. When Ansible runs in check mode, the tasks would report what would change without actually making changes.

Yes it was raising errors

@teacup-on-rockingchair

@Mab879