Handle case of absent instance_config.yml gracefully #13

Merged
decentral1se merged 1 commits from improved-failure-handling into main 2021-06-28 12:28:14 +00:00

1 Commits

Author SHA1 Message Date
Benjamin Wenzel
8bf5ca3ed2
Handle case of absent instance_config.yml gracefully
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build is passing
i.e., instead of throwing a red fatal error message at the user and
recovering with a rescue block we downgrade the lookup error to a
warning and set the same defaults in that case that were set in the
rescue block before.

See https://github.com/ansible-community/molecule-hetznercloud/issues/31.
2021-06-28 14:20:00 +02:00