add(ansible): cloud init status message

This commit is contained in:
Vezpi committed 2026-11-11 21:10:04 +00:00
1 parent 9557b37603
commit c53a59e60a
1 file changed
+4 -2
+4 -2
View File
@@ -155,9 +155,11 @@
changed_when: false
failed_when: false
- name: Warn about degraded cloud-init completion
- name: Show cloud-init wait diagnostics
ansible.builtin.debug:
msg: "VMID {{ provisioned_vmid }} cloud-init completed with degraded status (rc 2); individual cloud-init operations may not have succeeded. Inspect the diagnostics before relying on this guest."
msg:
- "stdout: {{ cloudinit_wait.stdout | trim }}"
- "stderr: {{ cloudinit_wait.stderr | trim }}"
when: cloudinit_wait.rc == 2
- name: Assert cloud-init completion