Skip to content
Snippets Groups Projects
Commit f54eb283 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

excluding kmod-mlnx-ofa_kernel from upgrades

parent cf466cf0
No related branches found
No related tags found
1 merge request!335Version pinning and enableing the upgrade role to run at all times
......@@ -16,12 +16,12 @@
- name: stop lustre
service: name=lustre-client state=stopped
become: true
when: lustreStatus.failed
when: lustreStatus
- name: remove conflicting packages if kernel is going to changed
package:
state: absent
name:
name:
- kmod-lustre-client
- kernel-devel
become: true
......@@ -62,7 +62,7 @@
name: '*'
state: latest
update_cache: yes
exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*
exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*,kmod-mlnx-ofa_kernel
disablerepo: "{{ yumdisablerepo|join(',') }}"
enablerepo: "{{ yumenablerepo|join(',') }}"
become: true
......@@ -74,7 +74,7 @@
name: '*'
state: latest
update_cache: yes
exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*
exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*,kmod-mlnx-ofa_kernel
become: true
become_user: root
when: ansible_os_family=="RedHat" and yumdisablerepo is undefined
......@@ -88,7 +88,7 @@
changed_when: '"No unfinished transactions left." not in yumtransactioncleanup.stdout'
- name: install kernel-devel
yum:
yum:
name:
- kernel-devel-{{ KERNEL_VERSION }}
- kernel-{{ KERNEL_VERSION }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment