X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Feg_registry%2Ftasks%2Finstall.yml;h=a57452a657da534641f17d000b6bb666f3fe10ba;hb=3c1bb1c727ca416486ab96384557ee3d12acf1e9;hp=57c982918ac994c47b352a38912f90d255205dc8;hpb=0f5e32849f70dfb4acf7297ba1b35e729def95f9;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/eg_registry/tasks/install.yml b/ocd/infra/playbooks/roles/eg_registry/tasks/install.yml index 57c9829..a57452a 100644 --- a/ocd/infra/playbooks/roles/eg_registry/tasks/install.yml +++ b/ocd/infra/playbooks/roles/eg_registry/tasks/install.yml @@ -28,21 +28,32 @@ name: vardata - name: Download 0.9 tar - command: wget http://release.edgegallery.org/arm64/all/0.9.tar.gz +# yamllint disable rule:line-length + command: wget http://release.edgegallery.org/release/arm64/all/EdgeGallery-v0.9-all-arm64.tar.gz +# yamllint disable rule:line-length args: chdir: /tmp/eg_registry/deploy/ when: ansible_architecture == 'aarch64' - name: Download 0.9 tar - command: wget http://release.edgegallery.org/x86/all/0.9.tar.gz +# yamllint disable rule:line-length + command: wget http://release.edgegallery.org/release/x86/all/EdgeGallery-v0.9-all-x86.tar.gz +# yamllint disable rule:line-length args: chdir: /tmp/eg_registry/deploy/ when: ansible_architecture == 'x86_64' -- name: Untar the donwloaded tar - command: tar -zxf 0.9.tar.gz +- name: Untar the downloaded tar + command: tar -zxf EdgeGallery-v0.9-all-x86.tar.gz args: chdir: /tmp/eg_registry/deploy/ + when: ansible_architecture == 'x86_64' + +- name: Untar the downloaded tar + command: tar -zxf EdgeGallery-v0.9-all-arm64.tar.gz + args: + chdir: /tmp/eg_registry/deploy/ + when: ansible_architecture == 'aarch64' - name: Replacing private ip replace: