--- - name: Servicedelegationtarget absent example hosts: ipaserver become: no tasks: - name: Ensure servicedelegationtarget test-delegation-target is absent ipaservicedelegationtarget: ipaadmin_password: SomeADMINpassword name: test-delegation-target state: absent