aboutsummaryrefslogtreecommitdiff
path: root/old/sliver-c2/tasks/sliver_install.yaml
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-25 20:42:06 +0300
committerheqnx <root@heqnx.com>2025-05-25 20:42:06 +0300
commit419478997ce7d61d56ffbfb0d0148784b1e7727c (patch)
treea1f3d94cb7fe4afe45a0ef523ed07b91a7be9b95 /old/sliver-c2/tasks/sliver_install.yaml
parent4929a0915888290faaac4f9ae972091c6b383b90 (diff)
downloadansible-playbooks-419478997ce7d61d56ffbfb0d0148784b1e7727c.tar.gz
ansible-playbooks-419478997ce7d61d56ffbfb0d0148784b1e7727c.zip
removing old dir
Diffstat (limited to 'old/sliver-c2/tasks/sliver_install.yaml')
-rw-r--r--old/sliver-c2/tasks/sliver_install.yaml35
1 files changed, 0 insertions, 35 deletions
diff --git a/old/sliver-c2/tasks/sliver_install.yaml b/old/sliver-c2/tasks/sliver_install.yaml
deleted file mode 100644
index 3f0e029..0000000
--- a/old/sliver-c2/tasks/sliver_install.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-- name: import sliver gpg key
- shell: |
- gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 4449039C
-
-- name: get latest sliver-server binary URL
- shell: |
- curl -sSLf https://api.github.com/repos/BishopFox/sliver/releases/latest \
- | grep -i browser_download_url \
- | grep -i sliver-server_linux \
- | grep -v sig \
- | head -1 \
- | cut -d '"' -f 4
- register: sliver_url
- changed_when: false
-
-- name: create sliver directory
- file:
- path: "{{ install_path }}"
- state: directory
- mode: '0755'
-
-- name: download sliver-server binary
- get_url:
- url: "{{ sliver_url.stdout }}"
- dest: "{{ install_path }}/sliver-server"
- mode: '0755'
-
-- name: symlink sliver binaries
- file:
- src: "{{ install_path }}/{{ item }}"
- dest: "/usr/local/bin/{{ item }}"
- state: link
- force: true
- loop:
- - sliver-server