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