Unverified Commit 8e9f611d authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

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

It should also be installed before installing any packages with Ansible.
parent b1e078df
......@@ -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