{"id":17781636,"url":"https://github.com/gpappsoft/privacyidea-ansible","last_synced_at":"2026-03-12T01:36:21.030Z","repository":{"id":258767939,"uuid":"875618630","full_name":"gpappsoft/privacyidea-ansible","owner":"gpappsoft","description":"Ansbile role to deploy privacyidea container from privacyidea-docker project on Ubuntu","archived":false,"fork":false,"pushed_at":"2025-05-28T09:53:19.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-26T07:24:50.935Z","etag":null,"topics":["ansible","ansible-role","deployment","docker","mfa","otp","privacyidea","security","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gpappsoft.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":"2024-10-20T13:14:53.000Z","updated_at":"2025-05-28T09:53:05.000Z","dependencies_parsed_at":"2025-04-29T09:24:11.778Z","dependency_job_id":"15d729ea-7b10-4629-91dd-b5713e651bb2","html_url":"https://github.com/gpappsoft/privacyidea-ansible","commit_stats":null,"previous_names":["gpappsoft/privacyidea-ansible"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/gpappsoft/privacyidea-ansible","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpappsoft%2Fprivacyidea-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpappsoft%2Fprivacyidea-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpappsoft%2Fprivacyidea-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpappsoft%2Fprivacyidea-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpappsoft","download_url":"https://codeload.github.com/gpappsoft/privacyidea-ansible/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpappsoft%2Fprivacyidea-ansible/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30412088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T00:40:14.898Z","status":"ssl_error","status_checked_at":"2026-03-12T00:40:08.439Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","deployment","docker","mfa","otp","privacyidea","security","ubuntu"],"created_at":"2024-10-27T04:03:49.440Z","updated_at":"2026-03-12T01:36:21.015Z","avatar_url":"https://github.com/gpappsoft.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Install privacyIDEA locally on bare-metal or VM with ansible using docker containers\n\nEasy deploys a privacyIDEA stack with container from [privacyidea-docker](https://github.com/gpappsoft/privacyidea-docker/) project on an Ubuntu 22.04/24.04 VM or bare-metal.\n\n#### Requirements\n\nA fresh:\n- Ubuntu 22.04/24.04 LTS base or minimal installation.\n- User with sudo privileges\n\n**Do not install the Ubuntu Docker snap-in. The ansible role will install Docker-CE from the official Docker repository.**\n\n#### Setup\n\nDownload and copy ```install.sh``` from the release page to the target host and run the script:\n\n```\nchmod +x install.sh\nsudo ./install.sh\n```\nor build and run your installer on the target host:\n```\ngit clone https://github.com/gpappsoft/privacyidea-ansible.git\ncd privacyidea-ansible\n# create install.sh with PAYLOAD in /tmp\ntar czvf /tmp/privacyidea.tgz privacyidea\ncat install.sh /tmp/privacyidea.tgz \u003e /tmp/install.sh\nchmod +x /tmp/install.sh\nsudo /tmp/installer.sh\n```\n\n#### privacyIDEA stack\n\nThe stack contains:\n- privacyIDEA\n- MariaDB Database\n- Freeradius with privacyIDEA plugin\n- NGINX as a reverse proxy\n- OpenLDAP (optional)\n\nCheck ```container/environment.env``` file after installing for privacyIDEA-WebUI admin password (Username: **admin**)\n\nAccess to WebUI via HTTPS (8443)\n\n#### How to configure\n\n- Use the ```privacyidea/roles/privacyidea/files/environment.env``` file to configure the stack. \n- Set service for the stack in ```privacyidea/group_vars/allprivacyidea/group_vars/all```\n\n**SECRET, PEPPER, DB_PASSWORD, ENCKEY** will be generated on the first run by the ansible role.  \n\n---\n#### Alternative method: manual deployment with ansible \n\nInstead using the ```installer.sh``` method, described above, the ansible playbook can be used manually. \n\nExample:\n```\npython3 -m venv ~/privacyidea-ansible\nsource ~/privacyidea-ansible/bin/activate \npip3 install -q  ansible-core==2.17.5 ansible==10.5.0\n```\nRun ansible playbook\n\n```\ncd ~/privacyidea-ansible/privacyidea\nansible-playbook -i production site.yml -b\n```\nTo run on multiple hosts or on a remote host, adjust the ```production``` inventory\n\n#### Disclaimer\n\nThis project is my private project doing in my spare time. This project is not from the NetKnights company. The project uses the open-source version of privacyIDEA. There is no official support from NetKnights for this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpappsoft%2Fprivacyidea-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpappsoft%2Fprivacyidea-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpappsoft%2Fprivacyidea-ansible/lists"}