working on it

This commit is contained in:
n0mad1k
2025-05-12 22:39:58 -04:00
parent 1534fc0c7c
commit 810cff1171
4 changed files with 158 additions and 60 deletions
+6
View File
@@ -2,6 +2,12 @@
# Common task for installing offensive security tools
# Shared across all providers
- name: Force tools directory to root regardless of user
set_fact:
home_dir: "/root"
tools_dir: "/root/Tools"
when: provider == "aws"
- name: Determine home directory path
set_fact:
home_dir: "{{ (ansible_user == 'root') | ternary('/root', '/home/' + ansible_user) }}"