mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 13:32:10 +00:00
15 lines
392 B
YAML
15 lines
392 B
YAML
---
|
|
- name: Host member principal present
|
|
hosts: ipaserver
|
|
become: true
|
|
|
|
tasks:
|
|
- name: Host host01.example.com principals host/testhost01.example.com and host/myhost01.example.com present
|
|
ipahost:
|
|
ipaadmin_password: SomeADMINpassword
|
|
name: host01.example.com
|
|
principal:
|
|
- host/testhost01.example.com
|
|
- host/myhost01.example.com
|
|
action: member
|