Update 'roles/registry/tasks/main.yml'
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Danny Bessems 2021-04-03 14:11:21 +00:00
parent 858fdf02b5
commit a8cb3ada22

View File

@ -6,7 +6,7 @@
- name: Extract installer
unarchive:
src: /tmp/harbor-installer.tgz
dest: /tmp
dest: /opt
remote_src: yes
- name: Copy Harbor configuration file and public/private keys
copy:
@ -15,16 +15,16 @@
backup: "{{ item.backup }}"
with_items:
- src: harbor.yml
dest: /tmp/harbor
dest: /opt/harbor
backup: yes
- src: /certificates/*.bessems.eu/certificate.crt
dest: /tmp/harbor
dest: /opt/harbor
backup: no
- src: /certificates/*.bessems.eu/privatekey.key
dest: /tmp/harbor
dest: /opt/harbor
backup: no
- name: Install Harbor
command: /tmp/harbor/install.sh --with-trivy
command: /opt/harbor/install.sh --with-trivy
- name: Delete temporary files
file:
path: /tmp/harbor-installer.tgz