bug fixing
[ealt-edge.git] / ocd / infra / playbooks / roles / egallery-tar / tasks / install.yml
index 6e5713f..d42dc84 100644 (file)
 # limitations under the License.
 
 ---
+
+- name: Create directory to download EG-TAR
+  command: mkdir -p /tmp/eg_download/deploy
+  args:
+    chdir: "{{playbook_dir}}"
+  ignore_errors: yes
+
 - name: Download 1.1 edgegallery x86
 # yamllint disable rule:line-length
   command: wget https://edgegallery.obs.cn-east-3.myhuaweicloud.com/releases/v1.1/x86/EdgeGallery-v1.1-all-x86.tar.gz
     chdir: /tmp/eg_download/deploy/
   when: ansible_architecture == 'x86_64'
 
-- name: Set inventory file
+- name: Set inventory file for aio
   command: cp hosts-aio /tmp/eg_download/deploy/ansible-all-x86-latest/install
   args:
     chdir: "{{playbook_dir}}"
+
+- name: Set inventory file for muno
+  command: cp hosts-muno /tmp/eg_download/deploy/ansible-all-x86-latest/install
+  args:
+    chdir: "{{playbook_dir}}"