aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-11-16 06:48:18 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-16 06:48:18 +0000
commit481ce72c96a61dd55276805a28890910779dcf47 (patch)
treeb78891b4247522783b8c5f93466a07351bc19dc6 /deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml
parent1fa5df3bc8c0f12839b8d30c4e73163d5adba082 (diff)
parent5c7758386ec5cb2ecc2689b8fa92a5c249f0b986 (diff)
Merge "use shell execute openstack components' db_sync method"
Diffstat (limited to 'deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml')
-rw-r--r--deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml b/deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml
index 85556a5a..b06aac50 100644
--- a/deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml
+++ b/deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml
@@ -4,6 +4,6 @@
- name: sync cinder db
#cinder_manage: action=dbsync
- shell: cinder-manage db sync
+ shell: su -s /bin/sh -c 'cinder-manage db sync' cinder
notify:
- restart cinder control serveice