Replace the original code with required_if when Ansible 2.0 lands Change-Id: Ib2e19794bbe804470a880253d5870254041358c8