As per the following deprecation warning (even though it has a typo):
[DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing
names to new standard, use callback_enabled instead. This feature will
be removed from ansible-core in version 2.15. Deprecation warnings can
be disabled by setting deprecation_warnings=False in ansible.cfg.
[1] https://github.com/ansible/ansible/pull/74845
This has multiple benefits:
- We don't have to wait until Ansible 2.8 (which will be when the official hcloud dynamic inventory provider will be included)
- We can expand the script to group servers by labels if required
- We can use the vault to automatically get the hetzner cloud token which is not possible otherwise