Kapisi/roles/Maat/tasks/main.yml

51 lines
889 B
YAML
Raw Normal View History

---
2023-02-22 22:33:58 -06:00
- name: Maat packages
become: yes
package:
name:
2023-02-22 22:33:58 -06:00
- Maat
2023-11-30 02:47:16 -06:00
- pacoloco
2023-02-22 22:33:58 -06:00
- name: makepkg.conf configuration
become: yes
template:
src: makepkg.conf.j2
dest: /etc/makepkg.conf
owner: root
group: root
mode: 0644
2023-02-22 22:33:58 -06:00
- name: Maat configuration
become: yes
copy:
src: aur.list
dest: /usr/local/etc/Maat/aur.list
- name: Maat service
become: yes
service:
name: maat.timer
state: restarted
enabled: yes
2023-11-30 02:47:16 -06:00
- 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