2f2d6ce3f7
This exercises the intermediate and buildset registry roles. Change-Id: Ic0da2d6b48a7b9f9b616033c70db471ba98181b4
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"
|