copy config files of eg 90/4290/2
authorSrinivasan <srinivasan.s.n@huawei.com>
Wed, 19 May 2021 14:05:12 +0000 (19:35 +0530)
committerSrinivasan <srinivasan.s.n@huawei.com>
Wed, 19 May 2021 14:11:47 +0000 (19:41 +0530)
Signed-off-by: Srinivasan <srinivasan.s.n@huawei.com>
Change-Id: I65bd2f6d731d77d47fa7fcd11106a718bc120e92

ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml

index d42dc84..b8e9fc2 100644 (file)
   command: cp hosts-aio /tmp/eg_download/deploy/ansible-all-x86-latest/install
   args:
     chdir: "{{playbook_dir}}"
+  when: ansible_architecture == 'x86_64'
 
 - name: Set inventory file for muno
   command: cp hosts-muno /tmp/eg_download/deploy/ansible-all-x86-latest/install
   args:
     chdir: "{{playbook_dir}}"
+  when: ansible_architecture == 'x86_64'
+
+- name: Set var.yml to eg path
+  # yamllint disable rule:line-length
+  command: cp var.yml /tmp/eg_download/deploy/ansible-all-x86-latest/install
+  # yamllint disable rule:line-length
+  args:
+    chdir: "{{playbook_dir}}"
+  when: ansible_architecture == 'x86_64'
+
+- name: Set default-var.yml to eg path
+  # yamllint disable rule:line-length
+  command: cp default-var.yml /tmp/eg_download/deploy/ansible-all-x86-latest/install
+  # yamllint disable rule:line-length
+  args:
+    chdir: "{{playbook_dir}}"
+  when: ansible_architecture == 'x86_64'