summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/common
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-12-19 18:39:49 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-12-21 14:46:08 +0800
commit98fa75b0d85d57ad715634a4561fbaa5d443f370 (patch)
treedfc3be1a2cb703f68d13c1b8bd0a0a98e502c1e9 /deploy/adapters/ansible/roles/common
parentf6ab1777425407be147878bbdd54f1852075d1b2 (diff)
bugfix: ssh disconnect error
JIRA: COMPASS-148 Change-Id: I65542e6078e3c21080b23fa61560dc8210770971 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/common')
-rw-r--r--deploy/adapters/ansible/roles/common/tasks/main.yml5
-rw-r--r--deploy/adapters/ansible/roles/common/vars/Debian.yml7
2 files changed, 10 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/common/tasks/main.yml b/deploy/adapters/ansible/roles/common/tasks/main.yml
index c4c10099..da114631 100644
--- a/deploy/adapters/ansible/roles/common/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/common/tasks/main.yml
@@ -38,6 +38,11 @@
pip: name={{ item }} state=present extra_args='--pre'
with_items: pip_packages
+- name: install keyczar for accelerate
+ pip: name=python-keyczar state=present extra_args='--pre'
+ delegate_to: 127.0.0.1
+ run_once: true
+
- name: update ntp conf
template: src=ntp.conf dest=/etc/ntp.conf backup=yes
diff --git a/deploy/adapters/ansible/roles/common/vars/Debian.yml b/deploy/adapters/ansible/roles/common/vars/Debian.yml
index 5b159da7..304517a6 100644
--- a/deploy/adapters/ansible/roles/common/vars/Debian.yml
+++ b/deploy/adapters/ansible/roles/common/vars/Debian.yml
@@ -4,10 +4,13 @@ packages:
#- python-dev
- openvswitch-datapath-dkms
- openvswitch-switch
- - crudini
- python-memcache
+ - python-iniparse
+ - python-d* #TODO, need remove
-pip_packages: []
+pip_packages:
+ - crudini
+ - python-keyczar
pip_conf: pip.conf