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

  tasks:
  # Ensure sudooption is present in sudorule
  - ipasudorule:
      ipaadmin_password: MyPassword123
      name: testrule1
      sudooption: "!root"
      action: member
