From a8cb3ada2298f09eb23f5f24f4ac80251cde4181 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Sat, 3 Apr 2021 14:11:21 +0000 Subject: [PATCH] Update 'roles/registry/tasks/main.yml' --- roles/registry/tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/registry/tasks/main.yml b/roles/registry/tasks/main.yml index 4bfd91e..2510995 100644 --- a/roles/registry/tasks/main.yml +++ b/roles/registry/tasks/main.yml @@ -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