bodsch.pacman
Ansible Role: pacman
Ansible role to configure pacman.
Further development of this Ansible role has been moved to Collection bodsch.core. This repository will therefore no longer be actively maintained.
tested operating systems
- ArchLinux
- ArtixLinux
Contribution
Please read Contribution
Development, Branches (Git Tags)
The master Branch is my Working Horse includes the "latest, hot shit" and can be complete broken!
If you want to use something stable, please use a Tagged Version!
Configuration
There are pre-defined values for Arch Linux and Artix Linux.
pacman_config: {}
pacman_options: {}
pacman_repositories: {}
pacman_mirrors: {}
pacman_custom_mirrors: []
pacman_config
pacman_config:
root_dir: "/"
db_path: /var/lib/pacman/
cache_dir: /var/cache/pacman/pkg/
log_file: /var/log/pacman.log
gpg_dir: /etc/pacman.d/gnupg/
hook_dir: /etc/pacman.d/hooks/
hold_pkg:
- pacman
- glibc
xfer_command: /usr/bin/curl -s -L -C - -f -o %o %u
clean_method: KeepInstalled
architecture: auto
ignore_pkg: []
ignore_group: []
no_upgrade: []
no_extract: []
use_syslog: true
color: true
no_progress_bar: true
check_space: true
verbose_pkg_lists: false
parallel_downloads: 5
sig_level:
- Required
- DatabaseOptional
local_file_sig_level:
- Optional
remote_file_sig_level:
- Required
pacman_config
pacman_options:
no_extract:
- "usr/share/help/* !usr/share/help/en*"
- "usr/share/gtk-doc/html/* usr/share/doc/*"
- "usr/share/locale/* usr/share/X11/locale/* usr/share/i18n/*"
- "!*locale*/en*/* !usr/share/i18n/charmaps/UTF-8.gz !usr/share/*locale*/locale.*"
- "!usr/share/*locales/en_?? !usr/share/*locales/i18n* !usr/share/*locales/iso*"
- "!usr/share/*locales/trans*"
- "usr/share/man/* usr/share/info/*"
- "usr/share/vim/vim*/lang/*"
pacman_repositories
Package and Database Signature Checking
pacman_repositories:
custom:
enabled: false
sig_level:
- Optional
- TrustAll
server: file:///home/custompkgs
usage:
- All
core:
enabled: true
include: /etc/pacman.d/mirrorlist
extra:
enabled: true
include: /etc/pacman.d/mirrorlist
community-testing:
enabled: false
include: /etc/pacman.d/mirrorlist
community:
enabled: true
include: /etc/pacman.d/mirrorlist
pacman_mirrors
pacman_mirrors:
"Default mirrors":
enabled: true
servers:
- https://geo.mirror.pkgbuild.com/$repo/os/$arch
- https://mirror.rackspace.com/archlinux/$repo/os/$arch
- https://mirror.leaseweb.net/archlinux/$repo/os/$arch
"Europe - Germany":
enabled: true
servers:
- https://mirror.netcologne.de/artix-linux/$repo/os/$arch
- http://mirrors.redcorelinux.org/artixlinux/$repo/os/$arch
- https://mirror.pascalpuffke.de/artix-linux/$repo/os/$arch
- https://ftp.uni-bayreuth.de/linux/artix-linux/$repo/os/$arch
pacman_custom_mirrors
pacman_custom_mirrors:
- file: /etc/pacman.d/mirrorlist-arch
"ARCH MIRRORS":
enabled: false
servers:
- http://mirror.i3d.net/pub/archlinux/$repo/os/$arch
Author and License
- Bodo Schulz
License
FREE SOFTWARE, HELL YEAH!
Install
ansible-galaxy install bodsch.pacmanLicense
apache-2.0
Downloads
376
Owner
ex-developer (c, c++, php),
ex-system administrator / engineer,
keep-it-simple,
monitoring,
automation,
system architect
