{"id":18825549,"url":"https://github.com/grycap/ansible-role-singularity-registry","last_synced_at":"2026-02-12T15:07:03.750Z","repository":{"id":130374590,"uuid":"197216489","full_name":"grycap/ansible-role-singularity-registry","owner":"grycap","description":"Ansible role to install Singularity Registry and Singularity Registry CLI client","archived":false,"fork":false,"pushed_at":"2019-07-18T13:33:19.000Z","size":17,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-22T00:59:25.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/grycap.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":"2019-07-16T15:06:09.000Z","updated_at":"2022-01-19T00:04:22.000Z","dependencies_parsed_at":"2023-04-25T03:38:55.796Z","dependency_job_id":null,"html_url":"https://github.com/grycap/ansible-role-singularity-registry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/grycap/ansible-role-singularity-registry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grycap%2Fansible-role-singularity-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grycap%2Fansible-role-singularity-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grycap%2Fansible-role-singularity-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grycap%2Fansible-role-singularity-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grycap","download_url":"https://codeload.github.com/grycap/ansible-role-singularity-registry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grycap%2Fansible-role-singularity-registry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29350255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T20:11:40.865Z","status":"ssl_error","status_checked_at":"2026-02-11T20:10:41.637Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-08T00:59:57.539Z","updated_at":"2026-02-12T15:07:03.731Z","avatar_url":"https://github.com/grycap.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![Build Status](https://travis-ci.org/grycap/ansible-role-singularity-registry.svg?branch=master)](https://travis-ci.org/grycap/ansible-role-singularity-registry)\n\nAnsible Role - Singularity Registry\n=========\n\nIt provides a totally customizable Ansible role for the installation of Singularity Registry and Singularity Registry Client.\n\nVariables for sregistry\n--------------\n\n- `install_sregistry`: Boolean. Indicates if the role has to install sregistry. Default: True \n- `sregistry_url`: String. The role will download the sregistry from this GIT repository. Default: https://github.com/singularityhub/sregistry\n- `sregistry_branch`: String. Branch of the GIT repository. Default: 'master'\n- `sregistry_dir`: String. Path where sregistry will be installed. Default: '/opt/sregistry-{{ sregistry_branch }}'\n- `sregistry_started`: Boolean. If false, it will not start the docker-compose.yml\n- `sregistry_token`: String. The token of the secrets.py file. If it is '', the role will generate it. Default: ''\n- `sregistry_secrets_vars`: List\\\u003cdict\\\u003e. Users could use this variable to configure the secrets.py. It must be definined as follows:\n    ```yml\n    sregistry_secrets_vars: \n    - { option: 'VAR_NAME_1', value: VAR_VALUE_1 }\n    - { option: 'VAR_NAME_2', value: VAR_VALUE_2 }\n    ```\n- `sregistry_config_vars`: List\\\u003cdict\\\u003e. Users could use this variable to configure the config.py.It must be definined as follows:\n    ```yml\n    sregistry_config_vars: \n    - { option: 'VAR_NAME_1', value: VAR_VALUE_1 }\n    - { option: 'VAR_NAME_2', value: VAR_VALUE_2 }\n    ```\n- `sregistry_plugins_enabled`: List\\\u003cString\\\u003e. Plugins of sregistry than will be availables in your installation. The allowed plugins are defined in vars/main.yml file:\n    ```yml\n    sregistry_allowed_plugins:\n      - pam_auth\n      - google_build\n      - globus\n      - saml_auth \n    ```\n\nVariables for sregistry-cli\n--------------\n- `install_sregistry_ci` Boolean. Indicates if the role has to install sregistry-cli. Default: True. \n- `sregistry_cli_url`: String. The role will download the sregistry from this GIT repository. Default: https://github.com/singularityhub/sregistry-cli\n- `sregistry_cli_branch`: String. Branch of the GIT repository. Default: 'master'\n- `sregistry_cli_dir`: String. Path where sregistry will be installed. Default: '/opt/sregistry-cli-{{ sregistry_cli_branch }}'\n\n- `sregistry_cli_use_docker`: Boolean. It indicates if sregistry-cli will be installed in the host or if the role has to build the docker image. Default: True\n- `sregistry_cli_create_alias`: Boolean. It indicates if the user wants to create an alias for sregistry-cli in /root/.bashrc. Default: False\n\nExample Playbook\n----------------\n\nDeployment of client and server with Consul enabled (and available at 172.17.0.2):\n``` yml\n- hosts: singularity-registry\n  vars:\n    # Variables to configure GITHUB authorization\n    sregistry_secrets_vars: \n    - { option: 'SOCIAL_AUTH_GITHUB_KEY', value: \"XXXXXXXXXX\" }\n    - { option: 'SOCIAL_AUTH_GITHUB_SECRET', value: \"XXXXXXXXXX\" }\n\n    sregistry_config_vars: \n      - { option: 'ENABLE_GITHUB_AUTH', value: True }\n      - { option: 'HELP_CONTACT_EMAIL', value: 'serlohu@upv.es' }\n      - { option: 'HELP_INSTITUTION_SITE', value: 'https://www.upv.es'}\n      - { option: 'REGISTRY_NAME', value: 'My Singularity Registry' }\n      - { option: 'REGISTRY_URI', value: 'mysreg' }\n      - { option: 'PRIVATE_ONLY', value: True }\n    \n    # Use PAM authorization\n    sregistry_plugins_enabled:\n      - pam_auth\n    \n    # sregistry-cli in Docker\n    sregistry_cli_use_docker: true\n   \n  roles:\n    - { role: grycap.singularity_registry } \n\n- hosts: general-nodes\n  vars:\n    # Do not install sregistry, only sregistry-cli\n    install_sregistry : false  \n    # sregistry-cli in Docker\n    sregistry_cli_use_docker: true\n   \n  roles:\n    - { role: grycap.singularity_registry } \n\nLicense\n-------\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrycap%2Fansible-role-singularity-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrycap%2Fansible-role-singularity-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrycap%2Fansible-role-singularity-registry/lists"}