Skip to content

Commit cb8b718

Browse files
authored
Merge pull request #2166 from stackhpc/rocky-97-ofed-upgrade-fix
Improve rocky-97-ofed-upgrade.yml playbook
2 parents f6e90c8 + 0640fd1 commit cb8b718

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

etc/kayobe/ansible/maintenance/rocky-97-ofed-upgrade.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
fail_msg: >-
2929
This playbook is only designed for Rocky Linux 9.6 hosts. Ensure
3030
that you are limiting it to only run on Rocky Linux 9.6 hosts and
31-
os_distribution is set to rocky.
31+
os_distribution is set to rocky. This can be bypassed by setting the
32+
skip_rocky_96_version_check variable to true.
33+
when: not skip_rocky_96_version_check | default(false) | bool
3234

3335
- name: Ensure doca kernel repo is up to date
3436
ansible.builtin.dnf:
@@ -68,7 +70,7 @@
6870
state: latest
6971
become: true
7072

71-
- name: Upgrade all
73+
- name: Update all packages (this can take a long time)
7274
ansible.builtin.dnf:
7375
name: "*"
7476
state: latest

0 commit comments

Comments
 (0)