Ansible with multi boot machines - Ubuntu, Server 2016 and Win 10 Pro Machine clusters

7 views
Skip to first unread message

sh...@8i.com

unread,
Mar 22, 2018, 11:18:21 AM3/22/18
to Ansible Project
Hi All

Has anyone had successful experience using Ansible with multi boot machines. 
My case we have clusters of 16 machines that have 3 Boots: 
1. Ubuntu 16 grub option 0
2. Windows 10 Pro grub option 1
3. Windows server 2016 grub option 2


The challenge is booting from Windows back to Windows.
Grub does a great job handling any other boot sequence. So I usually let the machine reboot into grub option 0 (Ubuntu) and then from there I manually login via csshx (a simultaneous ssh tool) to set `sudo grub-reboot 1`  to boot to Windows 10 Pro or `sudo grub-reboot 2` for Server 2016

I am hunting some clever Ansible logic to Boot from Windows back to Windows. This is a real pain point since we deploy and dev on the different boots everyday. Windows Patching is super janky - imagine my pain : )

Cheers
Shane

Trond Hindenes

unread,
Mar 24, 2018, 12:23:31 PM3/24/18
to Ansible Project
I don't think you'll get much help here until you figure out how to do it "manually" first.

That said, this whole setup seems like a nightmare. Why not just vms with _one_ os and spin them up/down as needed?
Reply all
Reply to author
Forward
0 new messages