From 0d83a8609940de016495de8941ea27547ddaad98 Mon Sep 17 00:00:00 2001 From: Maxim Vershinin Date: Mon, 6 Jul 2026 15:19:46 +0000 Subject: [PATCH] FIX: remote user changed in the new task --- roles/0_basic_postinstall/tasks/install_basic_utils.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/0_basic_postinstall/tasks/install_basic_utils.yaml b/roles/0_basic_postinstall/tasks/install_basic_utils.yaml index b0c386f..0b4c609 100644 --- a/roles/0_basic_postinstall/tasks/install_basic_utils.yaml +++ b/roles/0_basic_postinstall/tasks/install_basic_utils.yaml @@ -14,13 +14,16 @@ - unattended-upgrades update-cache: yes # Run apt update before installation become: yes + remote_user: ansible # The same commands for Alpine - name: Update Alpine packages when: (ansible_facts['distribution'] == "Alpine") command: /sbin/apk update + remote_user: ansible - name: Install the packages on Alpine when: (ansible_facts['distribution'] == "Alpine") - command: /sbin/apk add vim ranger zsh rsync git curl kitty \ No newline at end of file + command: /sbin/apk add vim ranger zsh rsync git curl kitty + remote_user: ansible \ No newline at end of file