Move version to vars file;Upgrade Harbor
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-07-01 10:50:05 +02:00
parent cbee768881
commit ec4e9239e8
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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
View File

@ -0,0 +1,2 @@
harbor:
version: v2.2.1