24 lines
844 B
YAML
24 lines
844 B
YAML
# 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'
|
|
exclusive: false
|