diff options
Diffstat (limited to 'compass/deploy/ansible/roles/nova-controller/tasks/nova_config.yml')
-rw-r--r-- | compass/deploy/ansible/roles/nova-controller/tasks/nova_config.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/compass/deploy/ansible/roles/nova-controller/tasks/nova_config.yml b/compass/deploy/ansible/roles/nova-controller/tasks/nova_config.yml new file mode 100644 index 000000000..62351faa9 --- /dev/null +++ b/compass/deploy/ansible/roles/nova-controller/tasks/nova_config.yml @@ -0,0 +1,16 @@ +--- +- name: nova db sync + command: su -s /bin/sh -c "nova-manage db sync" nova + register: result + until: result.rc == 0 + retries: 5 + delay: 3 + notify: + - restart nova-api + - restart nova-cert + - restart nova-consoleauth + - restart nova-scheduler + - restart nova-conductor + - restart nova-novncproxy + +- meta: flush_handlers |