summaryrefslogtreecommitdiffstats
path: root/ansible/roles/copy_L4Replay/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/copy_L4Replay/tasks/main.yml')
-rw-r--r--ansible/roles/copy_L4Replay/tasks/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible/roles/copy_L4Replay/tasks/main.yml b/ansible/roles/copy_L4Replay/tasks/main.yml
new file mode 100644
index 000000000..2f4887dc1
--- /dev/null
+++ b/ansible/roles/copy_L4Replay/tasks/main.yml
@@ -0,0 +1,14 @@
+---
+- file:
+ path: "{{ NSB_INSTALL_DIR }}"
+ state: directory
+
+- get_url:
+ url: "{{ L4REPLAY_DOWNLOAD }}"
+ dest: "{{ NSB_INSTALL_DIR }}"
+ checksum: "sha256:4dd17209715af68a95058648ab9314e2737418c836acc45492e987886f38bbe8"
+
+- unarchive:
+ src: "{{ NSB_INSTALL_DIR }}/{{ L4REPLAY_DOWNLOAD|basename }}"
+ dest: "{{ NSB_INSTALL_DIR }}"
+ copy: no