Need to Deploy OS using ansible playbook

Hi All,

any one experimented how to deploy OS using playbook ?
how to call WDS Server using ansible playbook?

if anyone done , please share me steps.

regards,
Pavan

When you say deploy an OS:

is this a bare-metal Server or a Virtual Machine on vSphere ?

need to deploy WS2019 OS on bare-metal server not in virtual machine

If the Server is an HP maybe try this Module:

https://docs.ansible.com/ansible/latest/modules/hpilo_boot_module.html

Or Dell IDrac

https://github.com/dell/dellemc-openmanage-ansible-modules

our server in dell , used below module , it’s working fine i have tested already.

https://github.com/dell/dellemc-openmanage-ansible-modules/idrac_os_deployment.yml

but it will trigger till WinEP , from there we have to do manually ,looking for zero touch deployment scenarios like how we do using Microsoft MDT.

let me know if you have any idea.

Hello Pavan.

Ansible is not a bare metal deployment tool.
For bare metal you need wds with pxe of iso boot and mdt and then maybe use Ansible for the other tasks.
Or make a preconfigured bootable iso or something.