X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fegallery-tar%2Ftasks%2Finstall.yml;h=d42dc8479cf1cbf0d4cee177c8250c30871731d5;hb=refs%2Fchanges%2F84%2F4284%2F2;hp=6e5713f4cc64771295a46e783d606c7d613cd23a;hpb=a5026e14b3e58bbd19ac3ea294926e5e52ab5da0;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml b/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml index 6e5713f..d42dc84 100644 --- a/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml +++ b/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml @@ -13,6 +13,13 @@ # 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 @@ -27,7 +34,12 @@ 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}}"