---
- name: Tests
  hosts: ipaserver
  become: true

  tasks:
  # Ensure sudorule command is present
  - ipasudorule:
      ipaadmin_password: MyPassword123
      name: testrule1
      description: A test sudo rule.
      state: present
