Files
ansible-freeipa/playbooks/host/hosts-member-managedby_host-absent.yml
Rafael Guterres Jeffman 880e7ccf08 Fix host's module managedby_host playbooks.
The host's module example playbooks had syntax errors that prevented
its execution. The tasks were described as dicts rather than lists.
2020-08-28 15:47:07 -03: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.exmaple.com
managedby_host: server.exmaple.com
- name: host02.exmaple.com
managedby_host: server.exmaple.com
action: member
state: absent