fix: env to var
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
become: true
|
become: true
|
||||||
serial: 1
|
serial: 1
|
||||||
|
vars:
|
||||||
|
ntfy_password: "{{ lookup('env', 'NTFY_PASSWORD') }}"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
|
||||||
@@ -16,7 +18,7 @@
|
|||||||
that:
|
that:
|
||||||
- ntfy_topic is defined
|
- ntfy_topic is defined
|
||||||
- ntfy_user is defined
|
- ntfy_user is defined
|
||||||
- ntfy_password is defined
|
- ntfy_password != ""
|
||||||
quiet: true
|
quiet: true
|
||||||
when: ntfy_url is defined
|
when: ntfy_url is defined
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user