mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-15 14:02:02 +00:00
19 lines
486 B
YAML
19 lines
486 B
YAML
---
|
|
- name: Host member principal absent
|
|
hosts: ipaserver
|
|
become: true
|
|
|
|
tasks:
|
|
- name: Hosts host01.exmaple.com and host02.exmaple.com member principals host/testhost0X.exmaple.com absent
|
|
ipahost:
|
|
ipaadmin_password: SomeADMINpassword
|
|
hosts:
|
|
- name: host01.exmaple.com
|
|
principal:
|
|
- host/testhost01.exmaple.com
|
|
- name: host02.exmaple.com
|
|
principal:
|
|
- host/testhost02.exmaple.com
|
|
action: member
|
|
state: absent
|