fix(ansible): harden AUR install task and rename ansible_user to local_user
- AUR task: replace loop with single paru call, use changed_when: false (stdout-only match never fired under non-TTY runs) and failed_when: false so transient AUR failures don't abort the play - Rename ansible_user -> local_user to avoid shadowing the connection magic var; update the two references in roles/common/tasks/main.yml
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# mw-pfeddersheim-workstation variables
|
||||
system_user: mw
|
||||
local_user: "{{ system_user }}"
|
||||
root_filesystem_uuid: 2aeade2e-b169-4964-8cbd-bb7356320b51
|
||||
root_filesystem_mount_opts: noatime
|
||||
swap_file_path: /swapfile
|
||||
|
||||
Reference in New Issue
Block a user