fixed payload sync and motd

This commit is contained in:
n0mad1k
2025-05-01 22:39:02 -04:00
parent 6b60b94768
commit 9e9383eeef
7 changed files with 83 additions and 59 deletions
+16
View File
@@ -2,6 +2,14 @@
# Common task for configuring redirector with full encryption
# Shared across all providers
- name: Set a custom MOTD
template:
src: "../templates/motd-redirector.j2"
dest: /etc/motd
owner: root
group: root
mode: '0644'
- name: Install required packages for redirector
apt:
name:
@@ -111,6 +119,14 @@
group: root
when: zero_logs | bool
- name: Create payload directory
file:
path: /var/www/resources
state: directory
mode: '0755'
owner: www-data
group: www-data
# Run port randomization if enabled
- name: Run port randomization if enabled
include_tasks: port_randomization.yml