fix: remove failure message as variable is undefined if directory does not exist
All checks were successful
development / Check commit compliance (push) Successful in 5s

This commit is contained in:
Bertrand Lanson 2024-08-17 14:08:56 +02:00
parent 01a53c6a3a
commit 9703fad7c9
Signed by: lanson
SSH Key Fingerprint: SHA256:/nqc6HGqld/PS208F6FUOvZlUzTS0rGpNNwR5O2bQBw

View File

@ -17,8 +17,6 @@
ansible.builtin.assert: ansible.builtin.assert:
that: that:
- _global_config_file.stat.exists - _global_config_file.stat.exists
fail_msg: >-
Main configuration file {{ _global_config_file.stat.path }} was not found, cannot continue without it.
delegate_to: localhost delegate_to: localhost
- name: "Variables | Load global variables" - name: "Variables | Load global variables"