blob: 9008da9e4bbd3c41196712ad4ef1d9eeee913046 [file] [log] [blame]
{%- from "ironic/map.jinja" import api with context %}
ironic_online_data_migrations:
cmd.run:
- name: ironic-dbsync online_data_migrations
{%- if grains.get('noservices') or ( api.api_type in ["deploy"] and api.get('role', 'primary') == 'secondary' ) %}
- onlyif: /bin/false
{%- endif %}