From d88d2158f94c72639b3f0ec635553bc0a7c82755 Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Fri, 29 Dec 2017 09:30:28 +0800 Subject: Bug fix for offline deployment of euphrates branch JIRA: - For offline deployment, there is no need to fix the pandas and python-ldap version. Change-Id: I30fa1f2af8ad13e115c0078c4f33102936bdd71d Signed-off-by: Yifei Xue --- deploy/adapters/ansible/roles/config-osa/tasks/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'deploy/adapters/ansible') diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml index 95bfbc02..1fdcea44 100755 --- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml +++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml @@ -265,16 +265,18 @@ when: - "{{ hostvars[inventory_hostname]['groups']['controller'] | length < 2 }}" -- name: copy the repo_fix_andas.yml +- name: copy the repo_fix_pandas.yml template: src: repo_fix_pandas.yml dest: /etc/ansible/roles/repo_build/tasks/repo_fix_pandas.yml + when: offline_deployment is defined and offline_deployment == "Disable" - name: change repore build lineinfile: dest: /etc/ansible/roles/repo_build/tasks/main.yml insertafter: "^- include: repo_post_build.yml" line: "- include: repo_fix_pandas.yml" + when: offline_deployment is defined and offline_deployment == "Disable" - include: meters.yml @@ -283,3 +285,4 @@ dest: /etc/ansible/roles/os_keystone/defaults/main.yml regexp: '^ - python-ldap' line: ' - python-ldap==2.5.2' + when: offline_deployment is defined and offline_deployment == "Disable" -- cgit 1.2.3-korg