Browse Source

[gogs] Fix perms on gogs ini file

Colin Powell 3 years ago
parent
commit
4021a12751
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ansible/roles/gogs/tasks/main.yml

+ 2 - 2
ansible/roles/gogs/tasks/main.yml

@@ -2,7 +2,7 @@
 # TODO mount the repos: `192.168.1.128:/tank/repos       /tank/iocage/jails/gogs1/root/var/db/gogs/repositories  nfs     rw      0       0``
 - name: Gogs package installed
   community.general.pkgng:
-    name: "gogs"
+    name: gogs
     state: latest
 
 - name: Gogs enabled
@@ -16,7 +16,7 @@
     src: app.ini
     dest: /usr/local/etc/gogs/conf/app.ini
     owner: git
-    mode: 0666
+    mode: 0600
   notify: Gogs restarted
 
 - name: Gogs started