FIX: remote user changed in the new task
This commit is contained in:
@@ -14,13 +14,16 @@
|
|||||||
- unattended-upgrades
|
- unattended-upgrades
|
||||||
update-cache: yes # Run apt update before installation
|
update-cache: yes # Run apt update before installation
|
||||||
become: yes
|
become: yes
|
||||||
|
remote_user: ansible
|
||||||
|
|
||||||
|
|
||||||
# The same commands for Alpine
|
# The same commands for Alpine
|
||||||
- name: Update Alpine packages
|
- name: Update Alpine packages
|
||||||
when: (ansible_facts['distribution'] == "Alpine")
|
when: (ansible_facts['distribution'] == "Alpine")
|
||||||
command: /sbin/apk update
|
command: /sbin/apk update
|
||||||
|
remote_user: ansible
|
||||||
|
|
||||||
- name: Install the packages on Alpine
|
- name: Install the packages on Alpine
|
||||||
when: (ansible_facts['distribution'] == "Alpine")
|
when: (ansible_facts['distribution'] == "Alpine")
|
||||||
command: /sbin/apk add vim ranger zsh rsync git curl kitty
|
command: /sbin/apk add vim ranger zsh rsync git curl kitty
|
||||||
|
remote_user: ansible
|
||||||
Reference in New Issue
Block a user