Make tasks idempotent and compatible with Ansible 1.6.6