-Numerous changes to make more generic. Use varialbe for username. Defaults to "pi

-
This commit is contained in:
2022-05-08 14:40:16 +00:00
parent fc0b355f1d
commit d539e40943
36 changed files with 137 additions and 109 deletions

View File

@@ -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