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 @@ ...@@ -16,12 +16,12 @@
- name: stop lustre - name: stop lustre
service: name=lustre-client state=stopped service: name=lustre-client state=stopped
become: true become: true
when: lustreStatus.failed when: lustreStatus
- name: remove conflicting packages if kernel is going to changed - name: remove conflicting packages if kernel is going to changed
package: package:
state: absent state: absent
name: name:
- kmod-lustre-client - kmod-lustre-client
- kernel-devel - kernel-devel
become: true become: true
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
name: '*' name: '*'
state: latest state: latest
update_cache: yes 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(',') }}" disablerepo: "{{ yumdisablerepo|join(',') }}"
enablerepo: "{{ yumenablerepo|join(',') }}" enablerepo: "{{ yumenablerepo|join(',') }}"
become: true become: true
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
name: '*' name: '*'
state: latest state: latest
update_cache: yes 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: true
become_user: root become_user: root
when: ansible_os_family=="RedHat" and yumdisablerepo is undefined when: ansible_os_family=="RedHat" and yumdisablerepo is undefined
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
changed_when: '"No unfinished transactions left." not in yumtransactioncleanup.stdout' changed_when: '"No unfinished transactions left." not in yumtransactioncleanup.stdout'
- name: install kernel-devel - name: install kernel-devel
yum: yum:
name: name:
- kernel-devel-{{ KERNEL_VERSION }} - kernel-devel-{{ KERNEL_VERSION }}
- kernel-{{ 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