3ab952f5 |
# [`ansible-role-gitolite`][]
An [Ansible][] [role][] for deploying [gitolite][] on [Debian][] >=9.
|
c13e1cf7 |
Installs [gitolite][], creates a [dedicated user][] to run it (defaults to
|
7fd652b3 |
`git`), prepares for [administering gitolite directly on the server][], and
allows [user created repos][].
|
f939f92c |
|
3ab952f5 |
[`ansible-role-gitolite`]: https://git.rcrnstn.net/rcrnstn/ansible-role-gitolite
[Ansible]: https://docs.ansible.com/ansible
[role]: https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html
[gitolite]: https://gitolite.com
[Debian]: https://www.debian.org
|
ae125be2 |
[dedicated user]: https://gitolite.com/gitolite/concepts#the-hosting-user
|
c13e1cf7 |
[administering gitolite directly on the server]: https://gitolite.com/gitolite/odds-and-ends#administering-gitolite-directly-on-the-server
|
7fd652b3 |
[user created repos]: https://gitolite.com/gitolite/odds-and-ends#giving-users-their-own-repos
|
1ee6e760 |
|
11306049 |
## Try out
A stand-in [`site.yml`][] [playbook][] is provided, use it with
```
ansible-playbook -K -i $host, site.yml
```
(note the comma!) replacing `$host` with the host you want to set up (can be
`localhost`, perhaps adding `--connection=local`).
|
eba87160 |
A [`Vagrantfile`][] that uses it is also provided, try it out with the usual
[`vagrant up`][].
|
11306049 |
[`site.yml`]: site.yml
[playbook]: https://docs.ansible.com/ansible/latest/user_guide/playbooks.html
|
eba87160 |
[`Vagrantfile`]: Vagrantfile
[`vagrant up`]: https://www.vagrantup.com/docs/cli/up.html
|
11306049 |
|
1ee6e760 |
## License
Licensed under the [ISC License][] unless otherwise noted, see the
[`LICENSE`][] file.
[ISC License]: https://choosealicense.com/licenses/isc/
[`LICENSE`]: LICENSE
|