making progress on c2 now

This commit is contained in:
n0mad1k
2025-04-11 21:44:57 -04:00
parent 95602a5df0
commit 07fd21666b
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -490,8 +490,8 @@ def create_inventory_file(config, deployment_type):
# For local execution, use the current Python interpreter
inventory_content.append(f"ansible_python_interpreter={sys.executable}")
else:
# For remote hosts, explicitly set to auto-detect or python3
inventory_content.append("ansible_python_interpreter=auto")
# For remote hosts, use the system Python interpreter
inventory_content.append("ansible_python_interpreter=/usr/bin/python3")
# Add specific host sections based on deployment type
if deployment_type == "local":