Skip to content

naingyeminn/ansible-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Lab

System Requirements

  • CPU: Intel Core i3, Core i5 or equivalents
  • RAM: 8GB (Minimum)
  • HDD: 10GB of Free Space
  • OS: Linux / MacOS / Windows

Intel VT-X or Virtualization Technology must be enabled

Prerequisites

Please install following softwares -

References:

Setting up Lab Environment

Creating/Starting VMs

Run following commands in Terminal (Linux / MacOS) or CMD / Git Bash (Windows)

git clone https://github.com/naingyeminn/ansible-lab.git
cd ansible-lab
vagrant plugin install vagrant-vbguest
vagrant up

Vagrant will create 3 VM Boxes in VirtualBox.

ansible-tower

  • CPU: 1
  • RAM: 4GB
  • IP: 192.168.101.10

gitlab

  • CPU: 2
  • RAM: 1GB
  • IP: 192.168.101.11

server01

  • CPU: 1
  • RAM: 1GB
  • IP: 192.168.101.21

If you have more CPU Cores and RAM you can customize the VM resources in Vagrantfile for better performance.

Please be warned that the total download size of lab data will be approximately 3GB.

More about Vagrant

Taking snapshots

vagrant snapshot save tower ready
vagrant snapshot save gitlab ready
vagrant snapshot save server01 ready

Restoring snapshots

vagrant snapshot restore tower ready
vagrant snapshot restore gitlab ready
vagrant snapshot restore server01 ready

Shutting down VMs

vagrant halt

Start/Stop VMs one by one

vagrant up tower
vagrant up gitlab
vagrant up server01
vagrant halt tower
vagrant halt gitlab
vagrant halt server01

Ansible Tower License

Please register and get License at https://www.ansible.com/workshop-license

About

CI/CD Lab with Ansible Tower and GitLab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages