--- - name: Playbook to handle hosts hosts: ipaserver become: true tasks: - name: Ensure host host01.example.com is absent ipahost: ipaadmin_password: SomeADMINpassword name: host01.example.com state: absent