Merge "Correctly match openvswitch package" into stable/queens
This commit is contained in:
commit
f2a6e40c2d
|
@ -134,7 +134,7 @@ outputs:
|
|||
- name: Get current OpenvSwitch package name
|
||||
register: ovs_pkg_out
|
||||
shell:
|
||||
rpm -qa | awk -F- '/^(openvswitch[0-9]+\.[0-9]+-|openvswitch-2)/{print $1}'
|
||||
rpm -qa | awk -F- '/^(openvswitch[0-9]+\.[0-9]+-[0-9]+\.[0-9]+\.[-0]+-|openvswitch-2)/{print $1}'
|
||||
- name: Don't update if not present
|
||||
set_fact:
|
||||
run_ovs_update: "{{ (ovs_pkg_out.stdout | length) > 0 }}"
|
||||
|
@ -325,7 +325,7 @@ outputs:
|
|||
- name: Get current OpenvSwitch package name
|
||||
register: ovs_pkg_out
|
||||
shell:
|
||||
rpm -qa | awk -F- '/^(openvswitch[0-9]+\.[0-9]+-|openvswitch-2)/{print $1}'
|
||||
rpm -qa | awk -F- '/^(openvswitch[0-9]+\.[0-9]+-[0-9]+\.[0-9]+\.[-0]+-|openvswitch-2)/{print $1}'
|
||||
- name: Don't update if not present
|
||||
set_fact:
|
||||
run_ovs_update: "{{ (ovs_pkg_out.stdout | length) > 0 }}"
|
||||
|
|
Loading…
Reference in New Issue