Directly I don't believe so but depending on what kind of out of band
management capabilities your server has it might be possible in combination
with a few other things. If it has a management interface that can be acted
on via API you might be able to do it via that somehow.  Or you might be
able to find a way to get it to pxe boot and load the iso.  But that would
require a pxe boot server and the setup for that.

Do you have more details on what you are trying to accomplish?  What kind
of physical server?  Do you have any sort of pxe or bare metal provisioning
system in your environment?  Redhat satellite/foreman can be setup to do
that and ansible can be used to automate operations in satellite so by
chaining it all together you could accomplish it but it's not as simple as
a single module.

On Wed, Jul 8, 2020, 6:31 PM DevOps Automation <[email protected]> wrote:

> Hi,
>
> I want to automate the physical server provisioning and build process. Can
> anyone please let me know that, does Ansible can boot an ISO file on a bare
> metal server?
>
> 1. If yes, can you please explain how the connection is established
> between remote and host server. Also the booting procedure.
>
> 2. After booting the server how can we automate the process/pass the
> variables to assign the hostname, IP address for the physical server.
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/b3b5aede-6579-4d9c-a21c-0c75ff3a7559o%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BBXYZEPYUb3B9c0SuYnOZ2ZXU%2B6gP2wW-Ut9-FHnU0T5PF7Ng%40mail.gmail.com.

Reply via email to