-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 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
|
||||
|
||||
Reference in New Issue
Block a user