This commit is contained in:
n0mad1k
2025-04-11 14:12:56 -04:00
parent 5d92761405
commit d8b980da07
4 changed files with 72 additions and 28 deletions
+4 -3
View File
@@ -28,13 +28,14 @@
access_token: "{{ linode_token }}"
label: "{{ c2_name }}"
type: "{{ plan }}"
region: "{{ linode_region }}"
image: "{{ image }}"
region: "{{ selected_region }}"
# Use Kali for C2 by default
image: "{{ c2_image | default('linode/kali') }}"
root_pass: "{{ lookup('password', '/dev/null length=16') }}"
authorized_keys:
- "{{ lookup('file', ssh_key_path) }}"
state: present
register: c2_instance
register: linode_instance
- name: Set c2_ip for later use
set_fact: