In Ansible 2.4, I'm getting this deprecation warning:
[DEPRECATION WARNING]: [defaults]hostfile option, The key is misleading as it can also be a list of hosts, a directory or a list of
paths . This feature will be removed in version 2.8. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
For the life of me, I cannot figure out what this means. Anybody know?
In my ansible.cfg file, I had a line like
hostfile = ./inventory
That needs to be changed to
inventory = ./inventory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With