-updates to hosts

-changes to templates for scripts
This commit is contained in:
mpelle426
2019-07-12 14:18:25 +01:00
parent 16b3b5e162
commit 2ed3936e53
5 changed files with 12 additions and 8 deletions

View File

@@ -4,5 +4,5 @@ then
echo "sipp is running"
else
cd /home/pi/sipp
./sipp -sn uac_pcap 192.168.198.2 -bg -l 40
./sipp -sn uac_pcap {{ hostvars[groups['sipserver'][0]].ansible_host }} -bg -l 40
fi

View File

@@ -33,7 +33,7 @@
tags: sipp
- name: copy scripts
when: sipp_move_directory is changed
copy:
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: pi
@@ -45,7 +45,7 @@
- { src: "{{ role_path }}/files/stopclient.sh", dest: "/home/pi/sipp/stopclient.sh" }
tags: sipp
- name: copy scripts2
copy:
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: pi