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

18 lines
469 B
YAML

---
- name: Hosts member principal present
hosts: ipaserver
become: true
tasks:
- name: Hosts host01.example.com and host02.example.com member principals host/testhost0X.example.com present
ipahost:
ipaadmin_password: SomeADMINpassword
hosts:
- name: host01.example.com
principal:
- host/testhost01.example.com
- name: host02.example.com
principal:
- host/testhost02.example.com
action: member