mirror of https://github.com/ansible/ansible.git
Guard against too old boto library
route53 creates Record objects using `health check` and `failover` parameters. Those parameters only became available in boto 2.28.0. As some prominent LTS Linux releases (e.g.: Ubuntu 14.04) only ship older boto versions (e.g.: 2.20.1 for Ubuntu 14.04), users are getting unhelpful error messages like TypeError: __init__() got an unexpected keyword argument 'health_check' when running Ansible 2 against their LTS install's default boto. We improve upon this error message by checking the boto version beforehand. Fixes ansible/ansible#13646reviewable/pr18780/r1
parent
04cde60d14
commit
ffeff8053b
Loading…
Reference in New Issue