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