20 lines
430 B
YAML
20 lines
430 B
YAML
|
---
|
||
|
- name: Install the Forgejo quadlets
|
||
|
ansible.builtin.template:
|
||
|
src: "templates/{{ item }}"
|
||
|
dest: "/etc/containers/systemd/{{ item }}"
|
||
|
mode: 0644
|
||
|
owner: root
|
||
|
group: root
|
||
|
loop:
|
||
|
- forgejo.container
|
||
|
- forgejo.network
|
||
|
- forgejo.volume
|
||
|
|
||
|
- name: Enable the Forgejo quadlet
|
||
|
ansible.builtin.systemd_service:
|
||
|
daemon_reload: true
|
||
|
enabled: true
|
||
|
name: forgejo.service
|
||
|
state: "started"
|