This commit is contained in:
2023-10-08 12:28:14 -05:00
parent 5ab88dc387
commit ea75da1b41
26 changed files with 257 additions and 134 deletions

View File

@@ -84,9 +84,10 @@
- name: Set up pacman.conf
vars:
ansible_become_password: "{{ passwords[inventory_hostname] }}"
ignorepkg: "{{ holdpackages | default('') }}"
become: yes
copy:
src: pacman.conf
template:
src: pacman.conf.j2
dest: /etc/pacman.conf
owner: root
group: root

View File

@@ -23,7 +23,7 @@ CleanMethod = KeepCurrent
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = mediawiki
IgnorePkg = {{ ignorepkg }}
# IgnoreGroup =
#NoUpgrade =