Fixed so it's working on Ansible 1.7.2

Had to fix some syntax in order to make it working with Ansible 1.7.2