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

syntax bugfix

parent 5608a6dc
No related tags found
1 merge request!409syntax bugfix
......@@ -68,11 +68,10 @@
name: '*'
state: latest
update_cache: yes
exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*,kmod-mlnx-ofa_kernel*,kmod-lustre-client*,lustre-client*,centos-release*, glusterfs*
exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*,kmod-mlnx-ofa_kernel*,kmod-lustre-client*,lustre-client*,centos-release*,glusterfs*
become: true
become_user: root
when:
- when: inventory_hostname in groups.ManagementNodes or inventory_hostname in groups.SQLNodes
when: ( inventory_hostname in groups.ManagementNodes ) or ( inventory_hostname in groups.SQLNodes )
- name: yum upgrade
yum:
......@@ -82,8 +81,7 @@
exclude: kernel*,mlnx-ofa_kernel*,kmod-lustre-client*,kmod-mlnx-ofa_kernel*,kmod-lustre-client*,lustre-client*,centos-release*
become: true
become_user: root
when:
- when: inventory_hostname not in groups.ManagementNodes and inventory_hostname not in groups.SQLNodes
when: ( inventory_hostname not in groups.ManagementNodes ) and ( inventory_hostname not in groups.SQLNodes )
- name: Clear yum pending transaction
command: yum-complete-transaction --cleanup-only
......
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