Removed pc_ for better overview

This commit is contained in:
2023-08-22 22:46:37 +02:00
parent d8bd1a37ea
commit 571bed27a3
77 changed files with 41 additions and 41 deletions

View File

@@ -0,0 +1 @@
https://github.com/kewlfft/ansible-aur

View File

@@ -0,0 +1,26 @@
- name: install yay
community.general.pacman:
name: yay
state: present
- name: Create the `aur_builder` user
become: yes
ansible.builtin.user:
name: aur_builder
create_home: yes
group: wheel
- name: Allow the `aur_builder` user to run `sudo pacman` without a password
become: yes
ansible.builtin.lineinfile:
path: /etc/sudoers.d/11-install-aur_builder
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'
create: yes
validate: 'visudo -cf %s'
- name: Upgrade the system using yay, only act on AUR packages.
become: false
kewlfft.aur.aur:
upgrade: yes
use: yay
aur_only: yes