Update 'roles/registry/tasks/main.yml'
Some checks failed
continuous-integration/drone Build is failing
Some checks failed
continuous-integration/drone Build is failing
This commit is contained in:
parent
858fdf02b5
commit
a8cb3ada22
@ -6,7 +6,7 @@
|
|||||||
- name: Extract installer
|
- name: Extract installer
|
||||||
unarchive:
|
unarchive:
|
||||||
src: /tmp/harbor-installer.tgz
|
src: /tmp/harbor-installer.tgz
|
||||||
dest: /tmp
|
dest: /opt
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
- name: Copy Harbor configuration file and public/private keys
|
- name: Copy Harbor configuration file and public/private keys
|
||||||
copy:
|
copy:
|
||||||
@ -15,16 +15,16 @@
|
|||||||
backup: "{{ item.backup }}"
|
backup: "{{ item.backup }}"
|
||||||
with_items:
|
with_items:
|
||||||
- src: harbor.yml
|
- src: harbor.yml
|
||||||
dest: /tmp/harbor
|
dest: /opt/harbor
|
||||||
backup: yes
|
backup: yes
|
||||||
- src: /certificates/*.bessems.eu/certificate.crt
|
- src: /certificates/*.bessems.eu/certificate.crt
|
||||||
dest: /tmp/harbor
|
dest: /opt/harbor
|
||||||
backup: no
|
backup: no
|
||||||
- src: /certificates/*.bessems.eu/privatekey.key
|
- src: /certificates/*.bessems.eu/privatekey.key
|
||||||
dest: /tmp/harbor
|
dest: /opt/harbor
|
||||||
backup: no
|
backup: no
|
||||||
- name: Install Harbor
|
- name: Install Harbor
|
||||||
command: /tmp/harbor/install.sh --with-trivy
|
command: /opt/harbor/install.sh --with-trivy
|
||||||
- name: Delete temporary files
|
- name: Delete temporary files
|
||||||
file:
|
file:
|
||||||
path: /tmp/harbor-installer.tgz
|
path: /tmp/harbor-installer.tgz
|
||||||
|
Loading…
Reference in New Issue
Block a user