fix(system_check): move no_log from block to individual API tasks

This commit is contained in:
2026-02-20 21:51:02 +01:00
parent 21bf8f79e2
commit 914d7dd9d1

View File

@@ -42,7 +42,6 @@
api_host: "{{ hypervisor_cfg.url }}"
api_user: "{{ hypervisor_cfg.username }}"
api_password: "{{ hypervisor_cfg.password }}"
no_log: true
block:
- name: Query Proxmox for existing VM
community.proxmox.proxmox_vm_info:
@@ -52,6 +51,7 @@
type: qemu
register: system_check_proxmox_check_result
changed_when: false
no_log: true
- name: Abort if VM already exists on Proxmox
ansible.builtin.assert:
@@ -72,7 +72,6 @@
username: "{{ hypervisor_cfg.username }}"
password: "{{ hypervisor_cfg.password }}"
validate_certs: "{{ hypervisor_cfg.certs | bool }}"
no_log: true
block:
- name: Query vCenter for existing VM
community.vmware.vmware_guest_info:
@@ -82,6 +81,7 @@
register: system_check_vmware_check_result
failed_when: false
changed_when: false
no_log: true
- name: Fail if vCenter lookup failed unexpectedly
ansible.builtin.assert: