|
| 1 | +openbsd-rubywarden |
| 2 | +========= |
| 3 | + |
| 4 | +Role to setup a [rubywarden](https://github.com/jcs/rubywarden] instance on OpenBSD. |
| 5 | + |
| 6 | +Requirements |
| 7 | +------------ |
| 8 | + |
| 9 | +- OpenBSD |
| 10 | + |
| 11 | +Role Variables |
| 12 | +-------------- |
| 13 | + |
| 14 | +| Variable | Default | Description | |
| 15 | +|--------- | ------- | ----------- | |
| 16 | +| rw_port | 4567 | The port rubywarden should listen on. | |
| 17 | +| rw_user | _rubywarden | The user that will be added to the system in order to run rubywarden. | |
| 18 | +| rw_home | /var/rubywarden | Home directory for rw_user. | |
| 19 | +| rw_group | _rubywarden | The group that will be added to the system in order to run rubywarden. | |
| 20 | +| rw_signups | false | Tells rubywarden to allow signups. Requires a service restart to change. | |
| 21 | +| rw_commit | master | Specific commit to be used during the checkout process. | |
| 22 | + |
| 23 | +Example Playbook |
| 24 | +---------------- |
| 25 | + |
| 26 | + - hosts: rw_server |
| 27 | + roles: |
| 28 | + - { role: qbit.rubywarden } |
| 29 | + |
| 30 | +License |
| 31 | +------- |
| 32 | + |
| 33 | +``` |
| 34 | +/* |
| 35 | + * Copyright (c) 2018 Aaron Bieber <[email protected]> |
| 36 | + * |
| 37 | + * Permission to use, copy, modify, and distribute this software for any |
| 38 | + * purpose with or without fee is hereby granted, provided that the above |
| 39 | + * copyright notice and this permission notice appear in all copies. |
| 40 | + * |
| 41 | + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 42 | + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 43 | + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 44 | + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 45 | + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 46 | + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 47 | + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 48 | + */ |
| 49 | + ``` |
0 commit comments