FIX: default user is ansible now. root is specified manually when needed

This commit is contained in:
2026-07-06 15:23:31 +00:00
parent 0d83a86099
commit 1a02e37ce8
4 changed files with 9 additions and 5 deletions
@@ -14,16 +14,13 @@
- 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
remote_user: ansible
command: /sbin/apk add vim ranger zsh rsync git curl kitty