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

Task in autoupdate-RedHat.yml does not work on Rocky 9 #134

Open
FH089 opened this issue Sep 11, 2024 · 1 comment
Open

Task in autoupdate-RedHat.yml does not work on Rocky 9 #134

FH089 opened this issue Sep 11, 2024 · 1 comment
Labels

Comments

@FH089
Copy link

FH089 commented Sep 11, 2024

Hi

This task does not work on Rocky 9 and ansible 2.17.3

- name: Configure autoupdates.
  lineinfile:
    dest: '{{ update_conf_path }}'
    regexp: '^apply_updates = .+'
    line: 'apply_updates = yes'
    mode: 0644
  when:
    - security_autoupdate_enabled
    - ansible_distribution_major_version | int in [7, 8]

by adding this it works

- - ansible_distribution_major_version | int in [7, 8]
+ - ansible_distribution_major_version | int in [7, 8, 9]
Copy link

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant