Evolution of deployment
This commit is contained in:
@@ -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