Evolution of deployment
This commit is contained in:
14
roles/Maat/files/pacoloco.yaml
Normal file
14
roles/Maat/files/pacoloco.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
port: 9129
|
||||
download_timeout: 3600 # download will timeout after 3600 seconds
|
||||
cache_dir: /var/cache/pacoloco
|
||||
purge_files_after: 360000 # 360000 seconds or 100 hours, 0 to disable
|
||||
repos:
|
||||
archlinux:
|
||||
urls:
|
||||
- http://mirrors.gigenet.com/archlinux/
|
||||
- http://mnvoip.mm.fcix.net/archlinux/
|
||||
- http://mirrors.kernel.org/archlinux/
|
||||
- http://ftp.osuosl.org/pub/archlinux/
|
||||
- https://mnvoip.mm.fcix.net/archlinux/
|
||||
- http://southfront.mm.fcix.net/archlinux/
|
||||
user_agent: Pacoloco
|
@@ -4,6 +4,7 @@
|
||||
package:
|
||||
name:
|
||||
- Maat
|
||||
- pacoloco
|
||||
|
||||
- name: makepkg.conf configuration
|
||||
become: yes
|
||||
@@ -26,3 +27,24 @@
|
||||
name: maat.timer
|
||||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
- name: Generate mirrorlist
|
||||
delegate_to: localhost
|
||||
run_once: yes
|
||||
command: "bash ../bin/generate-mirrorlist"
|
||||
|
||||
- name: Copy pacoloco config
|
||||
become: yes
|
||||
copy:
|
||||
src: pacoloco.yaml
|
||||
dest: /etc/pacoloco.yaml
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
|
||||
- name: Start pacoloco service
|
||||
become: yes
|
||||
service:
|
||||
name: pacoloco
|
||||
state: restarted
|
||||
enabled: yes
|
||||
|
Reference in New Issue
Block a user