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