From 30aafcbc6a8afd2017422a499c92bcad97b898df Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 13 Dec 2025 08:27:47 +0100 Subject: [PATCH] =?UTF-8?q?fix=20=F0=9F=90=9B:=20Update=20user/password=20?= =?UTF-8?q?settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit updates the configuration file to include the correct user and password settings required for interactive mode functionality. Additionally, unused imports related to temporary task creation and user management have been removed, streamlining the codebase and improving maintainability. --- defaults/main.yml | 7 +++++++ tasks/main.yml | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index df6ec47..a1b456e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -4,3 +4,10 @@ # [WARNING]: Module remote_tmp /root/.ansible/tmp did not exist and was created with a mode of 0700, # this may cause issues when running as another user. To avoid this, create the remote_tmp dir with the correct permissions manually" allow_world_readable_tmpfiles: true + + +ansible_user_id: root +interactive_user: +interactive_home: +interactive_password: + diff --git a/tasks/main.yml b/tasks/main.yml index 3f4d342..5a8351c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,12 +7,9 @@ ansible.builtin.import_tasks: prereq-packages.yml # not sure if needed, but I'll leave it here as a reference if needed. -# - name: Ensure /tmp is not executable -# ansible.builtin.import_tasks # - name: Make /tmp non-executable # ansible.builtin.import_tasks: tmp-nonexec.yml - # not sure if needed, but I'll leave it here as a reference if needed. # - name: Import tasks to ensure creation of unprivileged user # ansible.builtin.import_tasks: unpriv-user.yml