I’m so looking forward to this one.
I took a couple of weeks off after passing the Puppet exam, then got back to the study mode and spent an hour every day learning Ansible. I’m currently at the stage where I feel that I’ve covered all EX407 exam objectives, and I’m focusing on writing various playbooks in my homelab. I use a control node and 5 managed hosts, all running RHEL 7.3 on KVM.
The exam is in 3 weeks, and it’s on Ansible 2.7. Going to have 4 hours of intense yet creative typing, cannot wait!
This one will be tough. Good luck with the exam.
Thanks Mike, it won’t be easy, I’ll give you that. Ansible doc has more than 350000 lines!
Hello,
Congratulations on passing Redhat Ansible exam. Do you have steps on how to set up the lab on KVM?
Hi Amjed, thanks! Yes, of course.
My homelab is running on KVM, so I can walk you through the process. I have my VMs provisiong using PXE + TFTP + Kickstart. If you check the post about my KVM and Katello homelab setup, that’s pretty much the idea, although I don’t use Foreman here but a standalone TFTP server. I use FTP for network installation. Granted this is advanced setup, an easier way would be to do the following:
0. Install libvirt/qemu/KVM and download a CentOS ISO file.
1. Create a CentOS VM using the default KVM network virbr0. You can create a bridge br0 if you want to but this is not required.
2. Configure the CentOS VM with the root password and DHCP. This will be your control node.
3. Clone the VM. This will assign a different MAC address to the clone.
4. Use several clones as managed nodes.
5. Put the IPs of all VMs in the inventory file.
This is the most basic setup that I can think of, and does not require much effort.