aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/nova-controller/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/nova-controller/tasks')
-rw-r--r--deploy/adapters/ansible/roles/nova-controller/tasks/nova_config.yml7
1 files changed, 1 insertions, 6 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 df2d5dad..7085ddcf 100644
--- a/deploy/adapters/ansible/roles/nova-controller/tasks/nova_config.yml
+++ b/deploy/adapters/ansible/roles/nova-controller/tasks/nova_config.yml
@@ -1,11 +1,6 @@
---
- name: nova db sync
- command: su -s /bin/sh -c "nova-manage db sync" nova
- register: result
- until: result.rc == 0
- run_once: True
- retries: 5
- delay: 3
+ nova_manage: action=dbsync
notify:
- restart nova service