Browse Source

add configuration files to gogs playbook

services
Edoardo Putti 8 years ago
parent
commit
642f272c80
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      roles/gogs/tasks/main.yaml

+ 4
- 0
roles/gogs/tasks/main.yaml View File

@ -11,5 +11,9 @@
apt_repository: repo='deb https://deb.packager.io/gh/pkgr/gogs jessie pkgr' state=present
- name: Install Gogs
apt: name=gogs update_cache=yes
- name: Custom Gogs configuration directory
file: path=/etc/gogs/custom/conf state=directory
- name: Copy Gogs configuration
copy: dest=/etc/gogs/custom/conf/app.ini src=files/app.ini owner=gogs group=gogs
- name: Start at boot
service: name=gogs state=started enabled=yes

Loading…
Cancel
Save