Move version to vars file;Upgrade Harbor
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
cbee768881
commit
ec4e9239e8
@ -2,6 +2,8 @@
|
|||||||
- hosts: registry
|
- hosts: registry
|
||||||
remote_user: root
|
remote_user: root
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
vars:
|
||||||
|
- registry.yml
|
||||||
roles:
|
roles:
|
||||||
- dockerhost
|
- dockerhost
|
||||||
- registry
|
- registry
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
- name: Download Harbor installer
|
- name: Download Harbor installer
|
||||||
get_url:
|
get_url:
|
||||||
url: https://github.com/goharbor/harbor/releases/download/v2.2.1/harbor-online-installer-v2.2.1.tgz
|
url: https://github.com/goharbor/harbor/releases/download/{{ harbor.version }}/harbor-online-installer-{{ harbor.version }}.tgz
|
||||||
dest: /tmp/harbor-installer.tgz
|
dest: /tmp/harbor-installer.tgz
|
||||||
mode: '0777'
|
mode: '0777'
|
||||||
- name: Extract installer
|
- name: Extract installer
|
||||||
|
2
vars/registry.yml
Normal file
2
vars/registry.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
harbor:
|
||||||
|
version: v2.2.1
|
Loading…
Reference in New Issue
Block a user