{"id":31962059,"url":"https://github.com/xolog/ansible-openvpn-ui","last_synced_at":"2026-04-20T13:32:04.045Z","repository":{"id":306283483,"uuid":"1025553992","full_name":"Xolog/ansible-openvpn-ui","owner":"Xolog","description":"Ansible role for openvpn-ui","archived":false,"fork":false,"pushed_at":"2025-09-14T20:56:28.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-14T22:26:32.544Z","etag":null,"topics":["ansible","ansible-role","openvpn","openvpn-admin","openvpn-configuration","openvpn-server","openvpn-ui","web-interface"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xolog.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-24T12:35:54.000Z","updated_at":"2025-09-14T21:03:54.000Z","dependencies_parsed_at":"2025-07-24T20:40:19.062Z","dependency_job_id":null,"html_url":"https://github.com/Xolog/ansible-openvpn-ui","commit_stats":null,"previous_names":["xolog/ansible-openvpn-ui"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Xolog/ansible-openvpn-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xolog%2Fansible-openvpn-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xolog%2Fansible-openvpn-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xolog%2Fansible-openvpn-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xolog%2Fansible-openvpn-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xolog","download_url":"https://codeload.github.com/Xolog/ansible-openvpn-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xolog%2Fansible-openvpn-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019565,"owners_count":26086750,"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-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["ansible","ansible-role","openvpn","openvpn-admin","openvpn-configuration","openvpn-server","openvpn-ui","web-interface"],"created_at":"2025-10-14T16:14:33.709Z","updated_at":"2025-10-14T16:14:35.187Z","avatar_url":"https://github.com/Xolog.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: openvpn-ui\n=========\n\nThis Ansible role installs and configures [OpenVPN-UI](https://github.com/d3vilh/openvpn-ui) — a web-based UI for managing an existing OpenVPN server — as a **standalone binary** with a **systemd service**.\n\n## Features\n------------\n\n- Downloads and installs Go (default: `1.21.5`)\n- Clones and builds `openvpn-ui` and `qrencode`\n- Creates `conf/app.conf` from template\n- Creates systemd service for `openvpn-ui`\n- Exports initial admin credentials via environment vars\n- Enables and starts the service\n\nRequirements\n------------\n\n- Target host must be Debian-based (Ubuntu/Debian). Tested only Ubuntu 22.04\n- OpenVPN must already be installed and configured\n- Python 3 and Ansible \u003e= 2.9 on the control node\n\nRole Variables\n--------------\nYou can override the following defaults:\n\n```yaml\n# Go installation\ngo_version: \"1.21.5\"\ngo_tarball: \"go{{ go_version }}.linux-amd64.tar.gz\"\ngo_url: \"https://golang.org/dl/{{ go_tarball }}\"\ngo_install_dir: \"/usr/local/go\"\n\n# Directories\nbuild_dir: \"/opt/openvpn-ui\"\nqrencode_dir: \"{{ build_dir }}/qrencode\"\n\n# OpenVPN-UI config\nopenvpn_path: /etc/openvpn\neasyrsa_path: /usr/share/easy-rsa/\nenable_admin: true\nrun_mode: dev\nopenvpn_ui_workdir: \"{{ build_dir }}\"\nopenvpn_ui_exec_path: \"/opt/openvpn-ui/openvpn-ui\"\nopen_vpn_management_address: 127.0.0.1:6666\n\n# Environment variables for Go\ngo_env:\n  PATH: \"/usr/local/go/bin:{{ ansible_env.HOME }}/go/bin:{{ ansible_env.PATH }}\"\n  HOME: \"{{ ansible_env.HOME }}\"\n\n# Initial UI credentials\nOPENVPN_ADMIN_USERNAME: admin\nOPENVPN_ADMIN_PASSWORD: password\n\n# Optional (Google OAuth)\nGOOGLE_CLIENT_ID: \"\"\nGOOGLE_CLIENT_SECRET: \"\"\nGOOGLE_REDIRECT_URL: \"\"\nALLOWED_DOMAINS: \"\"\n```\n\nDependencies\n------------\n\nThis role assumes OpenVPN is already deployed via sorrowless.ansible_openvpn [sorrowless.ansible_openvpn](https://github.com/sorrowless/ansible_openvpn), but not required. Maybe other way for OpenVPN.\n\nExample Playbook\n----------------\n\n```yaml\n- name: Install and configure OpenVPN-UI\n  hosts: openvpn\n  become: yes\n  roles:\n    - openvpn-ui\n```\n\nLicense\n-------\n\nApache 2.0\n\nAuthor Information\n------------------\n\n[Xolog](https://github.com/Xolog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxolog%2Fansible-openvpn-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxolog%2Fansible-openvpn-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxolog%2Fansible-openvpn-ui/lists"}