Evolution of deployment

This commit is contained in:
2023-11-30 02:47:16 -06:00
parent 8392a3fe46
commit 69e2bcc966
21 changed files with 196 additions and 28 deletions

View File

@@ -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