Merge "Fix: Stop SM during optimized restore"

This commit is contained in:
Zuul 2025-01-30 22:43:42 +00:00 committed by Gerrit Code Review
commit cdd1e49c15

View File

@ -1,6 +1,6 @@
---
#
# Copyright (c) 2022-2024 Wind River Systems, Inc.
# Copyright (c) 2022-2025 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
@ -9,6 +9,14 @@
# Applying any missing changes or creating any missing flags
# that are not created during optimized restore.
- name: Stop SM so it doesn't interfere with services before unlock
systemd:
name: "{{ item }}"
state: stopped
loop:
- pmon.service
- sm.service
- set_fact:
_remove_items:
- "{{ ansible_remote_tmp|default('') }}"