FIX: default user is ansible now. root is specified manually when needed
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user