summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/open-contrail/tasks/install/install-compute.yml
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2015-12-29 17:27:25 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2015-12-31 09:28:36 +0800
commit55baaadf3ee21bf5769ee791533b66d28f9455ef (patch)
tree4972789da9d8b5eb807f8a3466261a8e219cea86 /deploy/adapters/ansible/roles/open-contrail/tasks/install/install-compute.yml
parent48286d3db939134823792b9bff7451d554e86f24 (diff)
bugfix: opencontrail add force parameter for apt-get install
JIRA: COMPASS-227 Change-Id: I4e9ae9dfed29f6d58c9200d21f09cf2a71961ca1 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/tasks/install/install-compute.yml')
-rwxr-xr-xdeploy/adapters/ansible/roles/open-contrail/tasks/install/install-compute.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/tasks/install/install-compute.yml b/deploy/adapters/ansible/roles/open-contrail/tasks/install/install-compute.yml
index 6c85ce55..3703522d 100755
--- a/deploy/adapters/ansible/roles/open-contrail/tasks/install/install-compute.yml
+++ b/deploy/adapters/ansible/roles/open-contrail/tasks/install/install-compute.yml
@@ -18,7 +18,7 @@
# name: "contrail-vrouter-3.13.0-40-generic"
# when: ansible_kernel == "3.13.0-40-generic"
# sudo: True
- action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
+ action: "{{ ansible_pkg_mgr }} name={{ item }} state=present force=yes"
with_items: vrouter_packages
when: ansible_kernel == kernel_required
@@ -27,7 +27,7 @@
# name: "contrail-vrouter-dkms"
# when: ansible_kernel != "3.13.0-40-generic"
# sudo: True
- action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
+ action: "{{ ansible_pkg_mgr }} name={{ item }} state=present force=yes"
with_items: dkms_packages
when: ansible_kernel != kernel_required