with recent ansible this is in column 33
I should parse it more inteligent :(
This commit is contained in:
parent
4f92195d8a
commit
85539d014b
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ while (chomp($a = qx(ps ax |grep -v 'sh -c ps ax' |grep /home/copr/provision/bu
|
|||
sleep 5;
|
||||
}
|
||||
|
||||
#print qx(ps ax |grep ' 172.16.3.' |awk '{ print \$32 }');
|
||||
@IPs = split('\s+', qx(ps ax |grep ' 172.16.3.' |awk '{ print \$32 }'));
|
||||
#print qx(ps ax |grep ' 172.16.3.' |awk '{ print \$33 }');
|
||||
@IPs = split('\s+', qx(ps ax |grep ' 172.16.3.' |awk '{ print \$33 }'));
|
||||
|
||||
#print "Running instances\n";
|
||||
#print join(", ", @IPs), "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue