fix: review archlinux install details

This commit is contained in:
Clément Désiles
2026-04-11 22:55:03 +02:00
parent f9397ad38c
commit de165f5e1c
3 changed files with 13 additions and 3 deletions
+8 -2
View File
@@ -22,21 +22,27 @@
line: "%wheel ALL=(ALL) NOPASSWD: ALL"
validate: /usr/sbin/visudo -cf %s
- name: Clean up stale yay sources dir
ansible.builtin.file:
path: "{{ yay_src_path }}"
state: absent
- name: Create yay sources dir
ansible.builtin.file:
path: "{{ yay_src_path }}"
state: directory
owner: "{{ ansible_user }}"
mode: "0755"
- name: Clone git sources
become: false
become_user: "{{ ansible_user }}"
ansible.builtin.git:
repo: "{{ yay_git_repo }}"
dest: "{{ yay_src_path }}"
# note: this only works because SUDOERS password prompt is disabled
- name: Build and install
become: false
become_user: "{{ ansible_user }}"
ansible.builtin.command:
chdir: "{{ yay_src_path }}"
cmd: "makepkg -si -f --noconfirm"