{"id":20534689,"url":"https://github.com/qbit/openbsd-rubywarden","last_synced_at":"2025-07-22T20:33:44.515Z","repository":{"id":56064781,"uuid":"147930502","full_name":"qbit/openbsd-rubywarden","owner":"qbit","description":"Ansible playbooks to build an OpenBSD rubywarden server","archived":false,"fork":false,"pushed_at":"2020-11-27T15:13:05.000Z","size":33,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T06:54:28.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-08T12:15:14.000Z","updated_at":"2025-04-06T13:33:38.000Z","dependencies_parsed_at":"2022-08-15T12:30:56.913Z","dependency_job_id":null,"html_url":"https://github.com/qbit/openbsd-rubywarden","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/qbit/openbsd-rubywarden","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fopenbsd-rubywarden","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fopenbsd-rubywarden/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fopenbsd-rubywarden/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fopenbsd-rubywarden/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qbit","download_url":"https://codeload.github.com/qbit/openbsd-rubywarden/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fopenbsd-rubywarden/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266567638,"owners_count":23949391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T00:27:45.839Z","updated_at":"2025-07-22T20:33:44.491Z","avatar_url":"https://github.com/qbit.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"openbsd-rubywarden\n=========\n\nRole to setup a [rubywarden](https://github.com/jcs/rubywarden) instance on OpenBSD.\n\nRequirements\n------------\n\n- OpenBSD\n\nTODO\n----\n\n- Stop cloning as `root`.\n\nRole Variables\n--------------\n\n| Variable | Default | Description |\n|--------- | ------- | ----------- |\n| rw_ruby | `2.7` | Ruby version. |\n| rw_port  | `4567`  | The port rubywarden should listen on. |\n| rw_user  | `_rubywarden` | The user that will be added to the system in order to run rubywarden. |\n| rw_home  | `/var/rubywarden` | Home directory for rw_user. |\n| rw_group  | `_rubywarden` | The group that will be added to the system in order to run rubywarden. |\n| rw_signups | `false` | Tells rubywarden to allow signups. Requires a service restart to change. |\n| rw_commit | `master` | Specific commit to be used during the checkout process. |\n| rw_env | `production` | Specify if we are running in production or development mode. |\n| rw_src | `\"{{ rw_home }}/src\"` | Dir to clone the rubywarden source to. |\n| rw_keepass | `false` | Install gems needed for importing keepass version 1 databases (version 2 is not supported)|\n\nRunning rubywarden tool scripts\n-------------------------------\n\nThe rubywarden scripts are installed in `/var/rubywarden/src/tools/`.\n\nTo run the scripts you need to set the proper environment so that the ruby gems installed into the local directory work correctly.\n\nFor example, to import a version 1 keepass database:\n\n```\nRUBYWARDEN_ENV=production \\\n\tPATH=/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/var/rubywarden/rb/bin \\\n\tHOME=/var/rubywarden \\\n\tGEM_HOME=/var/rubywarden/rb/ruby/2.7 \\\n\truby27 tools/keepass_import.rb -f /path/to/keepass.kbdx -u \u003cbw-user\u003e@domain.tld\n```\n\nExample Playbook\n----------------\n\n    - hosts: rw_server\n      roles:\n         - { role: qbit.rubywarden }\n\nUpgrading from ruby-2.6 to ruby-2.7\n-----------------------------------\n\nJust run the updated role. It automatically upgrades and installs needed packages.\n\nLicense\n-------\n\n```\n/*\n * Copyright (c) 2018 Aaron Bieber \u003caaron@bolddaemon.com\u003e\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n */\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbit%2Fopenbsd-rubywarden","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqbit%2Fopenbsd-rubywarden","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbit%2Fopenbsd-rubywarden/lists"}