RETIRED, Ansible role to deploy a container registry
Go to file
OpenDev Sysadmins 1aee1a7975 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:30:05 +00:00
ci-scripts Fix linting issues 2019-01-14 09:51:40 -07:00
defaults Allow to skip docker reconfiguration 2018-12-10 13:05:05 +01:00
handlers Fix become for tasks and handlers 2019-01-29 13:08:16 -07:00
meta meta/main: add role description 2018-04-16 12:58:31 -07:00
tasks Improve condition checking about docker registry config 2019-02-16 10:42:29 +00:00
templates Restore old task for docker-daemon.json 2018-04-16 17:27:04 -07:00
tests Update role name in test.yml 2018-04-16 17:49:34 -07:00
vars docker: add support for additional sockets 2018-05-07 21:49:45 +00:00
zuul.d Remove release-openstack-server 2018-09-28 15:26:18 +02:00
.gitignore First commit in Gerrit 2018-04-26 09:09:06 -07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:30:05 +00:00
LICENSE first commit 2018-04-13 13:38:32 -07:00
README.rst Allow to skip docker reconfiguration 2018-12-10 13:05:05 +01:00
ansible-requirements.txt First commit in Gerrit 2018-04-26 09:09:06 -07:00
ansible.cfg Fix ansible role name in cfg files 2018-04-26 12:33:07 -07:00
requirements.txt First commit in Gerrit 2018-04-26 09:09:06 -07:00
setup.cfg Fix package README errors 2018-07-30 14:36:52 -05:00
setup.py First commit in Gerrit 2018-04-26 09:09:06 -07:00
test-requirements.txt First commit in Gerrit 2018-04-26 09:09:06 -07:00
tox.ini Update min tox version to 2.0 2019-01-14 20:48:14 +00:00

README.rst

ansible-role-container-registry

A role to deploy a container registry. For now, the role only support Docker Registry v2.

Role Variables

Variables used for container registry
Name Default Value Description
container_registry_debug false Enable debug option in Docker
container_registry_deploy_docker true Whether or not to deploy Docker
container_registry_deploy_docker_distribution true Whether or not to deploy Docker Distribution
container_registry_deployment_user centos User which needs to manage containers
container_registry_docker_options --log-driver=journald --signature-verification=false --iptables=false --live-restore Options given to Docker configuration
container_registry_insecure_registries [] Array of insecure registries
container_registry_network_options [undefined] Docker networking options
container_registry_host localhost Docker registry host
container_registry_port 8787 Docker registry port
container_registry_mirror [undefined] Docker registry mirror
container_registry_storage_options -s overlay2 Docker storage options
container_registry_selinux false Whether or not SElinux is enabled for containers
container_registry_additional_sockets [undefined] Additional sockets for containers
container_registry_skip_reconfiguration false Do not perform container registry reconfiguration if it's already configured

Requirements

  • ansible >= 2.4
  • python >= 2.6

Dependencies

None

Example Playbooks

Modify Image

The following playbook will deploy a Docker registry:

- hosts: localhost
  become: true
  roles:
    - container-registry

License

Apache 2.0