Blame playbooks/host/host-present.yml
|
Packit Service |
0a38ef |
---
|
|
Packit Service |
0a38ef |
- name: Host present
|
|
Packit Service |
0a38ef |
hosts: ipaserver
|
|
Packit Service |
0a38ef |
become: true
|
|
Packit Service |
0a38ef |
|
|
Packit Service |
0a38ef |
tasks:
|
|
Packit Service |
0a38ef |
- name: Ensure host is present
|
|
Packit Service |
0a38ef |
ipahost:
|
|
Packit Service |
0a38ef |
ipaadmin_password: SomeADMINpassword
|
|
Packit Service |
0a38ef |
name: host01.example.com
|
|
Packit Service |
0a38ef |
description: Example host
|
|
Packit Service |
0a38ef |
ip_address: 192.168.0.123
|
|
Packit Service |
0a38ef |
locality: Lab
|
|
Packit Service |
0a38ef |
ns_host_location: Lab
|
|
Packit Service |
0a38ef |
ns_os_version: CentOS 7
|
|
Packit Service |
0a38ef |
ns_hardware_platform: Lenovo T61
|
|
Packit Service |
0a38ef |
mac_address:
|
|
Packit Service |
0a38ef |
- "08:00:27:E3:B1:2D"
|
|
Packit Service |
0a38ef |
- "52:54:00:BD:97:1E"
|
|
Packit Service |
0a38ef |
state: present
|