Files
ansible-freeipa/playbooks/host/hosts-member-managedby_host-absent.yml
Thomas Woerner ffe8a121dd playbooks, README-host: Change exmaple to example
This changes exmaple to example.
2021-09-29 10:09:43 +02:00

17 lines
402 B
YAML

---
- name: Hosts member managedby_host absent
hosts: ipaserver
become: true
tasks:
- name: Ensure hosts manadegby_host is absent.
ipahost:
ipaadmin_password: SomeADMINpassword
hosts:
- name: host01.example.com
managedby_host: server.example.com
- name: host02.example.com
managedby_host: server.example.com
action: member
state: absent