-Numerous changes to make more generic. Use varialbe for username. Defaults to "pi
-
This commit is contained in:
@@ -3,7 +3,7 @@ if pgrep sipp >/dev/null
|
||||
then
|
||||
echo "sipp is running"
|
||||
else
|
||||
cd /home/pi/sipp
|
||||
cd /home/'{{ def_username }}'/sipp
|
||||
./sipp -sn uas -rtp_echo -mp 6000 -mi {{ hostvars[inventory_hostname]['ansible_default_ipv4']['address']}} -bg
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user