a87a1e45b1
install-registry-cert is an internal test-only role, rename it to ensure to be consistent with the removal of all install- roles. Change-Id: I9906428639f1370fb39633f13ec18a22f1381453
11 lines
339 B
YAML
11 lines
339 B
YAML
- name: Ensure registry cert directory exists
|
|
become: true
|
|
file:
|
|
path: "/etc/docker/certs.d/{{ registry_host }}:{{ registry_port }}/"
|
|
state: directory
|
|
- name: Write registry TLS certificate
|
|
become: true
|
|
copy:
|
|
content: "{{ registry_cert }}"
|
|
dest: "/etc/docker/certs.d/{{ registry_host }}:{{ registry_port }}/ca.crt"
|