registry.fp.o is still using certs so we need this role to install them

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2018-07-31 18:53:19 +02:00
parent c4eb3aba32
commit 78853fbb5a

View file

@ -8,22 +8,22 @@
with_items:
- skopeo
#- name: ensure cert dir exists
# file:
# path: "{{cert_dest_dir}}"
# state: directory
#
#- name: install docker client cert for registry
# copy:
# src: "{{cert_src}}"
# dest: "{{cert_dest_dir}}/client.cert"
# owner: root
# group: "{{ certs_group }}"
# mode: 0640
#
#- name: install docker client key for registry
# copy:
# src: "{{key_src}}"
# dest: "{{cert_dest_dir}}/client.key"
# group: "{{ certs_group }}"
# mode: 0640
- name: ensure cert dir exists
file:
path: "{{cert_dest_dir}}"
state: directory
- name: install docker client cert for registry
copy:
src: "{{cert_src}}"
dest: "{{cert_dest_dir}}/client.cert"
owner: root
group: "{{ certs_group }}"
mode: 0640
- name: install docker client key for registry
copy:
src: "{{key_src}}"
dest: "{{cert_dest_dir}}/client.key"
group: "{{ certs_group }}"
mode: 0640