Skip to content
Snippets Groups Projects
Commit eda5ab40 authored by Chris Hines's avatar Chris Hines
Browse files

Merge branch 'hotfix' into 'master'

excluding lustre from upgrades

See merge request !344
parents d92f2ea3 5aec8162
No related branches found
No related tags found
1 merge request!344excluding lustre from upgrades
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
register: uname_r_output register: uname_r_output
check_mode: no check_mode: no
changed_when: False changed_when: False
- name: remove conflicting packages if kernel is going to changed - name: remove conflicting packages if kernel is going to changed
block: block:
- name: see if we have a lustre-client service or not - name: see if we have a lustre-client service or not
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
changed_when: False changed_when: False
failed_when: '"could not" in lustreStatus.stderr' failed_when: '"could not" in lustreStatus.stderr'
ignore_errors: yes ignore_errors: yes
- name: stop lustre - name: stop lustre
service: name=lustre-client state=stopped service: name=lustre-client state=stopped
become: true become: true
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
name: '*' name: '*'
state: latest state: latest
update_cache: yes update_cache: yes
exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*,kmod-mlnx-ofa_kernel exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*,kmod-mlnx-ofa_kernel*,kmod-lustre-client*,lustre-client*
disablerepo: "{{ yumdisablerepo|join(',') }}" disablerepo: "{{ yumdisablerepo|join(',') }}"
enablerepo: "{{ yumenablerepo|join(',') }}" enablerepo: "{{ yumenablerepo|join(',') }}"
become: true become: true
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
name: '*' name: '*'
state: latest state: latest
update_cache: yes update_cache: yes
exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*,kmod-mlnx-ofa_kernel exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*,kmod-mlnx-ofa_kernel*,kmod-lustre-client*,lustre-client*
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
......
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