Python 3 fix for consul_io inventory (#26510)
Python 3 fix for consul_io inventory (#26510)

* Python 3 fix for consul_io inventory

* Remove configparser CamelCase try statement

* revert to python2.6 compatible try;except

* Fix pip8 error E302

thaim/ansible,thaim/ansible