From 03d5289740c542478813923946c72928b78fa13b Mon Sep 17 00:00:00 2001 From: Vezpi Date: Wed, 3 Jun 2026 18:31:24 +0000 Subject: [PATCH] fix: env to var --- ansible/proxmox/update_proxmox.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/proxmox/update_proxmox.yml b/ansible/proxmox/update_proxmox.yml index 1c38f36..571a568 100644 --- a/ansible/proxmox/update_proxmox.yml +++ b/ansible/proxmox/update_proxmox.yml @@ -4,6 +4,8 @@ any_errors_fatal: true become: true serial: 1 + vars: + ntfy_password: "{{ lookup('env', 'NTFY_PASSWORD') }}" pre_tasks: @@ -16,7 +18,7 @@ that: - ntfy_topic is defined - ntfy_user is defined - - ntfy_password is defined + - ntfy_password != "" quiet: true when: ntfy_url is defined