Skip to content
Snippets Groups Projects
Verified Commit a4b9d88b authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

syncrepo: Set CacheDir to avoid downloads

parent bcc2ae32
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,13 @@
- syncrepo.timer
- rsyncd.socket
- name: set local mirror as cachedir
lineinfile:
dest: /etc/pacman.conf
insertafter: '^#CacheDir'
regexp: '^CacheDir'
line: 'CacheDir = /var/cache/pacman/pkg/ /srv/ftp/pool/packages/ /srv/ftp/pool/community/'
- name: install local mirror
lineinfile:
dest: /etc/pacman.d/mirrorlist
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment