Correct the command that gets the PID of nova_libvirt_launcher.sh.
The problem is due to a bug that makes the command get two numbers concatenated instead of one. Closes-Bug: #1970755 Signed-off-by: Juan Pablo Martí <jmarti@redhat.com> Change-Id: I0295e31bbaba96c7e60a872a89be7e0ddd07bd36
This commit is contained in:
parent
c6ad39a9e4
commit
bf17c453ec
|
@ -58,7 +58,7 @@
|
|||
- name: Get nova_libvirt_launcher Process
|
||||
become: true
|
||||
shell: |-
|
||||
ps -Leaf | grep nova_libvirt_launcher.sh | grep -v pts | awk '{printf "%s", $2}'
|
||||
ps -Leaf | grep nova_libvirt_launcher.sh | grep -v pts -m 1 | awk '{print $2}'
|
||||
register: nova_libvirt_launcher
|
||||
|
||||
- name: Get nova libvirt namespace processes
|
||||
|
|
Loading…
Reference in New Issue