{"id":29356949,"url":"https://github.com/cesnet/ansible-role-pi-docker","last_synced_at":"2026-02-05T16:32:02.950Z","repository":{"id":177186454,"uuid":"657527565","full_name":"CESNET/ansible-role-pi-docker","owner":"CESNET","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-12T15:55:03.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-07-09T05:43:56.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CESNET.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-06-23T09:00:36.000Z","updated_at":"2025-01-12T15:53:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"c785e1a8-887d-4544-b9f6-a4cf195a1e9d","html_url":"https://github.com/CESNET/ansible-role-pi-docker","commit_stats":null,"previous_names":["cesnet/ansible-role-pi-docker"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CESNET/ansible-role-pi-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-pi-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-pi-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-pi-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-pi-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CESNET","download_url":"https://codeload.github.com/CESNET/ansible-role-pi-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-pi-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29125839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"last_error":"SSL_read: 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":[],"created_at":"2025-07-09T05:41:07.120Z","updated_at":"2026-02-05T16:32:02.944Z","avatar_url":"https://github.com/CESNET.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cesnet.pi_docker\n\nAnsible role cesnet.pi_docker run and configure docker with privaciIDEA(https://www.privacyidea.org) and may run one or more instances of OAuth2 Proxies (https://oauth2-proxy.github.io/oauth2-proxy/).\n\n## Role Variables\n- **privacyidea_path** - Path to the main folder, where all files will be stored. Default value: `/opt/privacyidea`\n- **privacyidea_dirs** - List of directories to be created.\n- **privacyidea_files** - List of files to be copied to the machine. By default, no files will be copied to the machine.\n- **privacyidea_templates** - List of templates to be created at the machine. By default, no files will be created from templates.\n- **privacyidea_docker_compose_template** - Name of the docker-compose template to be used. By default, the default compose file will be used.\n- **privacyidea_docker_image** - Docker image for privacyIDEA. Default value: `registry.gitlab.ics.muni.cz:443/perun-proxy-aai/containers/docker-privacyidea:latest`\n- **privacyidea_oauthproxy_docker_image** - Docker image for OAuth2Proxy. Default value: `bitnami/oauth2-proxy:latest`\n- **privacyidea_docker_network** - Docker network. Default value: `docker_network`\n- **privacy_idea_config** - Configuration of privacyIDEA\n- **privacyidea_oauthproxy_instances** - Configuration of OAuth2Proxy instances\n- **privacyidea_cronjobs** - List of cronjobs to be added to the machine.\n\n## Example playbook\n```yaml\n- hosts: all\n  roles:\n    - role: cesnet.pi_docker\n      vars:\n        privacyidea_path: \"/opt/privacyidea\"\n        privacyidea_dirs:\n          - { path: \"{{ privacyidea_path }}\" }\n        privacyidea_files: []\n        #Example: - {src: \"example_file\", dest: \"example_file\", mode: \"0755\", owner: \"root\", user: \"group\"}\n        privacyidea_templates: []\n        #Example: - {src: \"example_file\", dest: \"example_file\", mode: \"0755\", owner: \"root\", user: \"group\"}\n        privacyidea_docker_compose_template: \"default-docker-compose.yml\"\n        privacyidea_docker_image: \"registry.gitlab.ics.muni.cz:443/perun-proxy-aai/containers/docker-privacyidea:latest\"\n        privacyidea_oauthproxy_docker_image: \"bitnami/oauth2-proxy:latest\"\n        privacyidea_docker_network: \"network\"\n        privacyidea_cronjobs: []\n        #Example:\n        #  - {\n        #    name: \"clear PI cache\",\n        #    job: \"/usr/bin/docker exec privacy_idea /usr/local/bin/privacyidea-usercache-cleanup delete \u003e\u003e /dev/null 2\u003e\u00261\",\n        #   minute: \"10\",\n        #    hour: \"10\",\n        #    }\n        privacy_idea_config:\n            environments: [] # https://privacyidea.readthedocs.io/en/latest/installation/system/inifile.html\n            #Example: - \"PI_LOGO=logo.svg\"\n            ports: []\n            #Example: - \"1234:1234\"\n            volumes: []\n            #Example: - \"/opt/privacyidea:/opt/privacyidea\"\n            log_tag: \"privacy_idea\"\n            extra_hosts: []\n            #Example: - \"example_hostname:172.0.0.1\"\n        privacyidea_oauthproxy_instances:\n            oauthproxy_name: # Docker will be started with this name\n                environments: [] # https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/overview/\n                #Example: - \"OAUTH2_PROXY_PROVIDER=oidc\"\n                ports: []\n                #Example: - \"6432:6432\"\n                volumes: []\n                #Example: - \"/opt/privacyidea:/opt/privacyidea\"\n                log_tag: \"oauthproxy_name\"\n                extra_hosts: []\n                #Example: - \"example_hostname:172.0.0.1\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesnet%2Fansible-role-pi-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesnet%2Fansible-role-pi-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesnet%2Fansible-role-pi-docker/lists"}