add ability to add gitea user into other groups

This commit is contained in:
Robert Kaussow 2018-12-09 18:06:10 +01:00
parent 91a307ff18
commit b2fc766e25
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ gitea_version: 1.6.0
gitea_user: "gitea_adm"
gitea_user_home: "/home/{{ gitea_user }}"
gitea_group: "{{ gitea_user }}"
gitea_extra_groups: []
gitea_packages:
- git

View File

@ -23,6 +23,7 @@
home: "{{ gitea_user_home }}"
uid: "{{ gitea_uid|default(omit) }}"
group: "{{ gitea_group }}"
groups: "{{ gitea_extra_groups }}"
- name: Install dependencies
package: