|
|
@ -26,6 +26,10 @@ |
|
|
|
- name: Custom Gogs configuration directory |
|
|
|
file: path=/etc/gogs/custom/conf state=directory |
|
|
|
- name: Copy Gogs configuration |
|
|
|
template: dest=/etc/gogs/custom/conf/app.ini src=app.ini owner=gogs group=gogs |
|
|
|
template: |
|
|
|
dest=/etc/gogs/custom/conf/app.ini |
|
|
|
src=templates/app.ini |
|
|
|
owner=gogs |
|
|
|
group=gogs |
|
|
|
- name: Start at boot |
|
|
|
service: name=gogs state=started enabled=yes |