feat(ansible): add multilib repo to arch system tasks

This commit is contained in:
Sergio Laín 2023-11-20 00:38:59 +01:00
parent 9e497909f0
commit 83d88b942b
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,3 @@
- name: update_repos
pacman:
update_cache: yes

View file

@ -58,6 +58,15 @@
regexp: '#MAKEFLAGS="-j2"'
line: 'MAKEFLAGS="-j$(nproc)"'
- name: add multilib repo
become: true
ini_file:
path: /etc/pacman.conf
section: "multilib"
option: "Include"
value: "/etc/pacman.d/mirrorlist"
notify: update_repos
- name: Create hooks directory
become: true
file: