Added a conditional to deal with generics ansible_domain