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 <https://docs.ansible.com/ansible/latest/modules/hpilo_boot_module.html> 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 <[email protected] > <javascript:>> 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] <javascript:>. >> 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/45d2a157-1211-423e-8f06-e16b1bd59f0co%40googlegroups.com.
