{"id":21318471,"url":"https://github.com/devops13242/ansible-playbook-docker-registry","last_synced_at":"2025-03-15T22:14:25.747Z","repository":{"id":217897384,"uuid":"744532122","full_name":"devops13242/ansible-playbook-docker-registry","owner":"devops13242","description":"Install and configure docker registry with native basic authentication and secure it using TLS","archived":false,"fork":false,"pushed_at":"2024-01-20T12:45:30.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T11:12:06.901Z","etag":null,"topics":["ansible","docker-registry"],"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/devops13242.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}},"created_at":"2024-01-17T13:48:46.000Z","updated_at":"2024-01-20T12:33:02.000Z","dependencies_parsed_at":"2024-02-03T11:48:06.089Z","dependency_job_id":null,"html_url":"https://github.com/devops13242/ansible-playbook-docker-registry","commit_stats":null,"previous_names":["devops-1212/ansible-playbook-docker-registry","devops13242/ansible-playbook-docker-registry"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops13242%2Fansible-playbook-docker-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops13242%2Fansible-playbook-docker-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops13242%2Fansible-playbook-docker-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops13242%2Fansible-playbook-docker-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devops13242","download_url":"https://codeload.github.com/devops13242/ansible-playbook-docker-registry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243796741,"owners_count":20349264,"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","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","docker-registry"],"created_at":"2024-11-21T19:13:39.269Z","updated_at":"2025-03-15T22:14:25.727Z","avatar_url":"https://github.com/devops13242.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible playbook docker registry\n\nThe Ansible playbook installs and configures docker registry with native basic authentication and secures it using TLS.\n\n## Parameters\n\n* `htpasswd_file` - local path of the authentication file\n* `tls_certificate_file` - local path of the ssl certificate file\n* `tls_key_file` - local path of the ssl key file\n\n## Example of an inventory file\n\n`hosts` file:\n\n```ini\n[all]\n10.5.0.221 htpasswd_file=/home/test/htpasswd tls_certificate_file=/home/test/repocert.pem  tls_key_file=/home/test/repokey.pem\n```\n\n## Install docker registry\n\n```shell\n$ ansible-playbook -i hosts docker-registry.yml\n```\n\nThe ansible playbook:\n* creates `/opt/docker-registry/` directory\n* uploads htpasswd file to `/opt/docker-registry/auth/htpasswd`\n* uploads ssl certificate to `/opt/docker-registry/certs/domain.crt`\n* uploads ssl key to `/opt/docker-registry/certs/domain.key`\n* creates `/opt/docker-registry/registry/` directory to store registry data\n* starts docker registry\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops13242%2Fansible-playbook-docker-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevops13242%2Fansible-playbook-docker-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops13242%2Fansible-playbook-docker-registry/lists"}