From c3836c95aa07ac626065625ac71a83790f0e30e6 Mon Sep 17 00:00:00 2001 From: Srinivasan Date: Wed, 19 May 2021 19:35:12 +0530 Subject: [PATCH] copy config files of eg Signed-off-by: Srinivasan Change-Id: I65bd2f6d731d77d47fa7fcd11106a718bc120e92 --- .../playbooks/roles/egallery-tar/tasks/install.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml b/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml index d42dc84..b8e9fc2 100644 --- a/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml +++ b/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml @@ -38,8 +38,26 @@ 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' -- 2.16.6