feat(role): Initial commit

This commit is contained in:
2025-04-03 00:12:58 +02:00
parent 3e9b2ba91a
commit cf55d8b20e
11 changed files with 299 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
# SPDX-License-Identifier: MIT
- name: 'If Arch Linux set paru package manager to list search results bottom-up'
when: 'ansible_facts[''os_family''] | lower == ''archlinux'''
community.general.ini_file:
path: '/etc/paru.conf'
section: 'options'
option: 'BottomUp'
allow_no_value: true
- name: 'If Arch Linux copy pacman config file with custom options'
when: 'ansible_facts[''os_family''] | lower == ''archlinux'''
ansible.builtin.copy:
src: 'etc/pacman.d/pacman.conf'
dest: '/etc/pacman.d/pacman.conf'
- name: 'If Arch Linux include our custom pacman config in main pacman config'
when: 'ansible_facts[''os_family''] | lower == ''archlinux'''
community.general.ini_file:
path: '/etc/pacman.conf'
section: 'options'
option: 'Include'
value: '/etc/pacman.d/pacman.conf'