... | ... |
@@ -4,7 +4,7 @@ An [Ansible][] [role][] for deploying [gitolite][] on [Debian][] >=9. |
4 | 4 |
|
5 | 5 |
Installs [gitolite][], creates a [dedicated user][] to run it (defaults to |
6 | 6 |
`git`), prepares for [administering gitolite directly on the server][], and |
7 |
-allows [user created repos][]. |
|
7 |
+allows [user created repos][] with [multiple `OWNERS`][]. |
|
8 | 8 |
|
9 | 9 |
[`ansible-role-gitolite`]: https://git.rcrnstn.net/rcrnstn/ansible-role-gitolite |
10 | 10 |
[Ansible]: https://docs.ansible.com/ansible |
... | ... |
@@ -14,6 +14,7 @@ allows [user created repos][]. |
14 | 14 |
[dedicated user]: https://gitolite.com/gitolite/concepts#the-hosting-user |
15 | 15 |
[administering gitolite directly on the server]: https://gitolite.com/gitolite/odds-and-ends#administering-gitolite-directly-on-the-server |
16 | 16 |
[user created repos]: https://gitolite.com/gitolite/odds-and-ends#giving-users-their-own-repos |
17 |
+[multiple `OWNERS`]: https://gitolite.com/gitolite/wild#specifying-owners |
|
17 | 18 |
|
18 | 19 |
## Try out |
19 | 20 |
|
... | ... |
@@ -39,12 +39,15 @@ |
39 | 39 |
# syslog 'facility': defaults to 'local0', uncomment if needed. For example: |
40 | 40 |
# LOG_FACILITY => 'local4', |
41 | 41 |
|
42 |
+ OWNER_ROLENAME => 'OWNERS', |
|
43 |
+ |
|
42 | 44 |
# roles. add more roles (like MANAGER, TESTER, ...) here. |
43 | 45 |
# WARNING: if you make changes to this hash, you MUST run 'gitolite |
44 | 46 |
# compile' afterward, and possibly also 'gitolite trigger POST_COMPILE' |
45 | 47 |
ROLES => { |
46 | 48 |
READERS => 1, |
47 | 49 |
WRITERS => 1, |
50 |
+ OWNERS => 1, |
|
48 | 51 |
}, |
49 | 52 |
|
50 | 53 |
# enable caching (currently only Redis). PLEASE RTFM BEFORE USING!!! |