-update sipp version
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: all,!ansible-hosts
|
- hosts: all,!ansible-host
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
tasks:
|
tasks:
|
||||||
- name: reboot
|
- name: reboot
|
||||||
|
|||||||
@@ -2,19 +2,19 @@
|
|||||||
- name: download sipp source
|
- name: download sipp source
|
||||||
get_url:
|
get_url:
|
||||||
url: "https://github.com/SIPp/sipp/releases/download/v3.6.0/sipp-3.6.0.tar.gz"
|
url: "https://github.com/SIPp/sipp/releases/download/v3.6.0/sipp-3.6.0.tar.gz"
|
||||||
dest: "/home/pi/sipp-3.5.2.tar.gz"
|
dest: "/home/pi/sipp-3.6.0.tar.gz"
|
||||||
register: sipp_source
|
register: sipp_source
|
||||||
tags: sipp
|
tags: sipp
|
||||||
- name: Unpacking SIPP
|
- name: Unpacking SIPP
|
||||||
unarchive:
|
unarchive:
|
||||||
copy: no
|
copy: no
|
||||||
dest: /home/pi/
|
dest: /home/pi/
|
||||||
src: "/home/pi/sipp-3.5.2.tar.gz"
|
src: "/home/pi/sipp-3.6.0.tar.gz"
|
||||||
when: sipp_source.changed
|
when: sipp_source.changed
|
||||||
register: sipp_source_unpack
|
register: sipp_source_unpack
|
||||||
tags: sipp
|
tags: sipp
|
||||||
- name: move sipp directory
|
- name: move sipp directory
|
||||||
command: 'mv sipp-3.5.2 sipp'
|
command: 'mv sipp-3.6.0 sipp'
|
||||||
when: sipp_source_unpack is changed
|
when: sipp_source_unpack is changed
|
||||||
register: sipp_move_directory
|
register: sipp_move_directory
|
||||||
tags: sipp
|
tags: sipp
|
||||||
|
|||||||
Reference in New Issue
Block a user