--- - name: Tests hosts: ipaserver become: true gather_facts: false tasks: # Ensure hostgroup cluster is absent in Sudo Rule - ipasudorule: ipaadmin_password: SomeADMINpassword name: testrule1 hostgroup: cluster action: member state: absent