Commit d2a186fa authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Merge branch 'pacman_conf' into 'master'

roles/common: install pacman.conf as soon as possible to avoid duplicate package cache update

See merge request !203
parents b1e078df 8e9f611d
Pipeline #4523 passed with stage
in 45 seconds
......@@ -7,6 +7,9 @@
- name: set hostname
hostname: name="{{ inventory_hostname }}"
- name: install pacman config
template: src=pacman.conf.j2 dest=/etc/pacman.conf mode=0644 owner=root group=root
- name: configure pacman mirror
template: src=mirrorlist.j2 dest=/etc/pacman.d/mirrorlist owner=root group=root mode=0644
......@@ -166,12 +169,6 @@
- name: remove old checkservices copied script (from submodule; archlinux-contrib provides /usr/bin/checkservices)
file: path=/usr/local/bin/checkservices state=absent
- name: install pacman config
template: src=pacman.conf.j2 dest=/etc/pacman.conf mode=0644 owner=root group=root
- name: update package cache
pacman: update_cache=yes
- name: install custom paccache.service
copy: src=paccache.service dest=/etc/systemd/system/paccache.service owner=root group=root mode=0644
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment