Files
ansible-freeipa/playbooks/host/disable-host.yml
Thomas Woerner d370ed2737 playbooks: Unite admin password
Use SomeADMINpassword as the admin password everywhere, also in all
playbooks.
2020-02-26 12:51:21 +01:00

12 lines
232 B
YAML

---
- name: Playbook to handle hosts
hosts: ipaserver
become: true
tasks:
- name: Disable host host01.example.com
ipahost:
ipaadmin_password: SomeADMINpassword
name: host01.example.com
state: disabled