summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/nova-controller
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/nova-controller')
-rw-r--r--deploy/adapters/ansible/roles/nova-controller/tasks/nova_config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/nova-controller/tasks/nova_config.yml b/deploy/adapters/ansible/roles/nova-controller/tasks/nova_config.yml
index f3c4687d..6be41aa4 100644
--- a/deploy/adapters/ansible/roles/nova-controller/tasks/nova_config.yml
+++ b/deploy/adapters/ansible/roles/nova-controller/tasks/nova_config.yml
@@ -14,7 +14,7 @@
- restart nova service
- name: nova db sync
- nova_manage: action=dbsync
+ shell: su -s /bin/sh -c "nova-manage db sync" nova
notify:
- restart nova service