updated for ansible 1.0