A basic setup which can help you for practicing RHCE: Ansible Automation Exam
- VMware Workstation 15.x.x or more
- CPU with 2+ cores
- Min 8 GB RAM
- 80-100 GB Storage
- Download CentOS from Given Link. And use this file only, to avoid setup bugs. Download
- Clone this code to your machine.
- Your working Directory should be
main
. - [Important] Rename CentOS iso from
CentOS.xxxxx
tocentos.iso
and move it tomain
. - Install VMware Workstation
- Create a New Virtual Machine
- Keep Configuration as Follows
- 4 vCPU
- 6-8 GB RAM
- In CPU Section there will be three check boxes regarding Virtualization. Enable all three
- Storage 100GB
- Network Adapter NAT
- And use centos.iso in Ansible Scripts folder as OS installer.
- Base account should have root access.
- Once installation is finished, transfer
main
folder to/tmp/
folder of your Virtual machine. - [Important] Now run terminal at path of
/tmp/main
. - Run Command
bash initial-setup.sh
. - Once this script’s execution is completed than run
bash setup_vm.sh
- This process will take time so you can access your VM’s console by Virtual Machine Manager. You can find this app in Application section.
- Here you will find your installation process, once all VMs are in Shutdown State this indicates that all the VMs are successfully configured.
- [Important] Once all VM are configured run
bash run_after_vm_installation.sh
- Now your ansible setup has been done
- Root Password: redhat
- Users: student, devops
- User Password: redhat
- VM hostname and IP
- servera: 10.2.1.11
- serverb: 10.2.1.12
- serverc: 10.2.1.13
- serverd: 10.2.1.14
- Workstation IP : 10.2.1.1