Skip to content

Commit 35fa808

Browse files
committed
fix/mount-condition-scope (#185)
1 parent c978467 commit 35fa808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
password: "{{ lookup('env', 'PASSWORD') }}"
5151
mount: "{{ mount }}"
5252
when:
53-
- PROXMOX_PASSWORD is defined and PROXMOX_PASSWORD != ''
53+
- lookup('env','PROXMOX_PASSWORD') | default('', True) | length > 0
5454
- not (share | default(false) | bool)
5555
- mount is defined
5656
tags: mounts

0 commit comments

Comments
 (0)