RCLUSTER-WP-0019: tolerate unsimulatable backup copy in --check
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 605711@bnt-lap001
Assistant-Session: 1f5e2256-181f-49ed-b7b1-a1c34bf37a61
This commit is contained in:
codex 2026-10-20 22:06:24 +02:00
parent 16fdc57699
commit aaa92d4269

View file

@ -169,6 +169,8 @@
when: unit_is_preimage
- name: Back up original unit (root-only)
# In --check the backup directory is not created, so the copy cannot be simulated.
ignore_errors: "{{ ansible_check_mode }}"
ansible.builtin.copy:
src: "{{ k3s_unit_path }}"
remote_src: true