X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fegallery-munomode-edge%2Ftasks%2Finstall.yml;h=4c9a3ed10ca5e6b3ffc06eafdb7416cbd2e881b4;hb=refs%2Fchanges%2F79%2F4579%2F1;hp=a4c587b4e06f2a27730fd438c7a5fec837c5a178;hpb=3ed2c61d9d7e7916481650c41bfe5604f7db22e9;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/install.yml b/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/install.yml index a4c587b..4c9a3ed 100644 --- a/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/install.yml +++ b/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/install.yml @@ -12,39 +12,38 @@ # See the License for the specific language governing permissions and # limitations under the License. ---- ### MUNO edge installation ### - name: Check edgegallery tar ball present stat: - path: /tmp/eg_download/deploy/EdgeGallery-v1.1.1-edge-x86.tar.gz + path: /tmp/eg_download/deploy/EdgeGallery-v1.3.0-edge-x86.tar.gz register: edge_tar_var -- name: Download 1.1 edgegallery x86 edge -# yamllint disable rule:line-length - command: wget https://akraino.obs.ap-southeast-1.myhuaweicloud.com/v1.1.1/x86/EdgeGallery-v1.1.1-edge-x86.tar.gz -# yamllint disable rule:line-length +- name: Download 1.3 edgegallery x86 edge + # yamllint disable rule:line-length + command: wget http://edgegallery-v1.3.0.obs.cn-north-4.myhuaweicloud.com/x86/EdgeGallery-v1.3.0-edge-x86.tar.gz + # yamllint disable rule:line-length args: chdir: /tmp/eg_download/deploy/ when: not edge_tar_var.stat.exists - name: Untar Edgegallery offline edge tar file - command: tar -xvf EdgeGallery-v1.1.1-edge-x86.tar.gz + command: tar -xvf EdgeGallery-v1.3.0-edge-x86.tar.gz args: - chdir: /tmp/eg_download/deploy/ + chdir: /tmp/eg_download/deploy/ when: not edge_tar_var.stat.exists - name: Set inventory file for muno edge -# yamllint disable rule:line-length + # yamllint disable rule:line-length command: scp root@{{ OCD_IP }}:"{{playbook_dir}}"/muno-config/edge/hosts-muno-edge . -# yamllint disable rule:line-length + # yamllint disable rule:line-length args: chdir: "{{playbook_dir}}" - name: Set var.yml file for muno edge -# yamllint disable rule:line-length + # yamllint disable rule:line-length command: scp root@{{ OCD_IP }}:"{{playbook_dir}}"/muno-config/edge/var.yml . -# yamllint disable rule:line-length + # yamllint disable rule:line-length args: chdir: "{{playbook_dir}}" @@ -53,5 +52,5 @@ # yamllint disable rule:line-length cmd: ansible-playbook --inventory hosts-muno-edge -e "ansible_user=root" eg_edge_aio_install.yml >> muno_edge_log # yamllint disable rule:line-length - chdir: /tmp/eg_download/deploy/EdgeGallery-v1.1.1-edge-x86/install + chdir: /tmp/eg_download/deploy/EdgeGallery-v1.3.0-edge-x86/install when: ansible_architecture == 'x86_64'