blob: 505022d89294e3bea0cb8c1195bf00afca57b596 [file] [log] [blame]
{%- from "cinder/map.jinja" import controller with context %}
cinder_syncdb:
cmd.run:
- name: 'cinder-manage db sync; sleep 5;'
- runas: 'cinder'
{%- if grains.get('noservices') or controller.get('role', 'primary') == 'secondary' %}
- onlyif: /bin/false
{%- endif %}