1 # Copyright 2021 Huawei Technologies Co., Ltd.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
16 - name: Download 1.1 edgegallery x86
17 # yamllint disable rule:line-length
18 command: wget https://edgegallery.obs.cn-east-3.myhuaweicloud.com/releases/v1.1/x86/EdgeGallery-v1.1-all-x86.tar.gz
19 # yamllint disable rule:line-length
21 chdir: /tmp/eg_download/deploy/
22 when: ansible_architecture == 'x86_64'
24 - name: Untar Edgegallery offline tarbal file
25 command: tar -xvf EdgeGallery-v1.1-all-x86.tar.gz
27 chdir: /tmp/eg_download/deploy/
28 when: ansible_architecture == 'x86_64'
30 - name: Set inventory file for aio
31 command: cp hosts-aio /tmp/eg_download/deploy/ansible-all-x86-latest/install
33 chdir: "{{playbook_dir}}"
35 - name: Set inventory file for muno
36 command: cp hosts-muno /tmp/eg_download/deploy/ansible-all-x86-latest/install
38 chdir: "{{playbook_dir}}"