
Adds support for enabling TLS on the Docker registry. Change-Id: Idac6a1dfb17f4a22b3043531d1181a5585cafe6a Story: 2007952 Task: 40428
13 lines
434 B
YAML
13 lines
434 B
YAML
---
|
|
- name: Restart docker-registry container
|
|
docker_container:
|
|
name: "{{ item.value.container_name }}"
|
|
state: started
|
|
restart: True
|
|
# NOTE: The image argument shouldn't be required, but without it this
|
|
# handler fails on Ansible 2.3. Related bug:
|
|
# https://github.com/ansible/ansible/issues/21188.
|
|
image: "{{ item.value.image }}"
|
|
with_dict: "{{ docker_registry_services }}"
|
|
when: item.value.enabled
|