blob: f0a8a18cf05db4058c34867e6080f4f360dd6fe7 [file] [log] [blame]
{%- from "ironic/map.jinja" import api,conductor with context %}
ironic_task_service_stopped:
test.show_notification:
- text: "Running ironic.upgrade.service_stopped"
{%- if api.get('enabled', False) %}
ironic_stop_{{ api.service }}:
service.dead:
- name: {{ api.service }}
- enable: False
{%- endif %}
{%- if conductor.get('enabled', False) %}
ironic_stop_{{ conductor.service }}:
service.dead:
- name: {{ conductor.service }}
- enable: False
{%- endif %}