summaryrefslogtreecommitdiffstats
path: root/compass/deploy/ansible/openstack_juno/roles/nova-controller/tasks/nova_config.yml
blob: 62351faa9d44a6b3801b175cf882d58056d65ee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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