You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
ci-scripts | 4 years ago | |
defaults | 4 years ago | |
handlers | 4 years ago | |
meta | 4 years ago | |
tasks | 4 years ago | |
templates | 4 years ago | |
tests | 4 years ago | |
vars | 4 years ago | |
zuul.d | 4 years ago | |
.gitignore | 4 years ago | |
.gitreview | 4 years ago | |
LICENSE | 4 years ago | |
README.rst | 4 years ago | |
ansible-requirements.txt | 4 years ago | |
ansible.cfg | 4 years ago | |
requirements.txt | 4 years ago | |
setup.cfg | 4 years ago | |
setup.py | 4 years ago | |
test-requirements.txt | 4 years ago | |
tox.ini | 4 years ago |
README.rst
ansible-role-container-registry
A role to deploy a container registry. For now, the role only support Docker Registry v2.
Role Variables
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 |
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