The Ansible version was capped to < 2.4.0 in [1], since 2.4.0 refactored
the Inventory and VariableManager modules.
This patch aims at adding support for Ansible >= 2.4.0, while keeping
compatibility with earlier versions.
Change-Id: I5722fc8531671e69abe90d64a4bfd988321850b5
Closes-Bug: #1724227