Blob Blame History Raw
---
- name: Playbook to handle hosts
  hosts: ipaserver
  become: true

  tasks:
  - name: Ensure host host01.example.com is absent
    ipahost:
      ipaadmin_password: MyPassword123
      name: host01.example.com
      state: absent