Re: [ansible-project] Question re: Can Ansible boot an ISO file on a bare metal server?

2020-07-09 Thread DevOps Automation
Thanks for your response.

I want to automate booting an ISO file, assigning hostname and IP address 
to a physical server. Physical server is going to be HP servers and it will 
have HP 'ILO' (Integrated lights Out). 
hpilo_boot 
 module 
can boots a system through its HP iLO interface. But had a question i.e After 
booting the server how can we automate the process/pass the variables to 
assign the hostname, IP address for the physical server.

Thanks.

On Wednesday, July 8, 2020 at 10:19:41 PM UTC-7, Nick Schendel wrote:
>
> 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  > 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 ansible...@googlegroups.com .
>> 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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/45d2a157-1211-423e-8f06-e16b1bd59f0co%40googlegroups.com.


Re: [ansible-project] Question re: Can Ansible boot an ISO file on a bare metal server?

2020-07-08 Thread Nick Schendel
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  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 ansible-project+unsubscr...@googlegroups.com.
> 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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BBXYZEPYUb3B9c0SuYnOZ2ZXU%2B6gP2wW-Ut9-FHnU0T5PF7Ng%40mail.gmail.com.


Re: [ansible-project] Question re: Can Ansible boot an ISO file on a bare metal server?

2020-07-08 Thread Dhananjay Kumar
This might help.

"Automate bare metal server provisioning using Ironic (bifrost) and the
ansible deploy driver | Mirantis"
https://www.mirantis.com/blog/automate-bare-metal-server-provisioning-using-ironic-bifrost-and-the-ansible-deploy-driver/

Regards
Dhananjay

On Thu, 9 Jul, 2020, 5:01 am DevOps Automation,  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 ansible-project+unsubscr...@googlegroups.com.
> 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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEEgA1x0y_jo6Xq-LVsvMNK8ni4kQNFmKzoUVYsepe13QmtaGw%40mail.gmail.com.