-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 uac_pcap {{ hostvars[groups['sipserver'][0]].ansible_host }} -bg -l 40
./sipp -sf call.xml {{ hostvars[groups['sipserver'][0]].ansible_host }} -r 3 -rp 90s -rtp_echo -mi {{ hostvars[inventory_hostname]['ansible_default_ipv4']['address']}} -bg
fi