Skip to content

Commit abe0c16

Browse files
priteauAlex-Welsh
authored andcommitted
Support skipping Rocky Linux version check
This can be useful if the playbook has been interrupted before finishing, but the rocky-release package is already updated to 9.7. (cherry picked from commit 0640fd1)
1 parent 9499da6 commit abe0c16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
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:

0 commit comments

Comments
 (0)