Skip to content
Snippets Groups Projects
Verified Commit cc33f5d9 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

Add upgrade using variables and Upgrade harbor from v2.4.2 to v2.4.1

parent 5acd5551
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
- name: Download harbor installer - name: Download harbor installer
get_url: get_url:
url: https://github.com/goharbor/harbor/releases/download/v2.4.1/harbor-online-installer-v2.4.1.tgz url: "{{ harbor_installer_url }}"
dest: /home/{{ user }}/harbor-online-installer-v2.4.1.tgz dest: /home/{{ user }}/{{ harbor_dest_file_name }}
force: no force: no
- name: Extract harbor installer - name: Extract harbor installer
unarchive: unarchive:
src: /home/{{ user }}/harbor-online-installer-v2.4.1.tgz src: /home/{{ user }}/{{ harbor_dest_file_name }}
dest: "/home/{{ user }}" dest: "/home/{{ user }}"
remote_src: True remote_src: True
......
...@@ -47,3 +47,5 @@ sites: ...@@ -47,3 +47,5 @@ sites:
- name: harbor.sch.bme.hu - name: harbor.sch.bme.hu
proxy_to: http://localhost:8080 proxy_to: http://localhost:8080
harbor_installer_url: https://github.com/goharbor/harbor/releases/download/v2.4.2/harbor-online-installer-v2.4.2.tgz
harbor_dest_file_name: harbor-online-installer-v2.4.2.tgz
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment