mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
15 lines
391 B
YAML
15 lines
391 B
YAML
---
|
|
- name: Host present with principal
|
|
hosts: ipaserver
|
|
become: true
|
|
|
|
tasks:
|
|
- name: Host host01.example.com present with principals host/testhost01.example.com and host/myhost01.example.com
|
|
ipahost:
|
|
ipaadmin_password: SomeADMINpassword
|
|
name: host01.example.com
|
|
principal:
|
|
- host/testhost01.example.com
|
|
- host/myhost01.example.com
|
|
force: yes
|