Skip to content

Centos 7 Infrastructure Server with Ansible. Build with Packer.

License

Notifications You must be signed in to change notification settings

balingit/packer-centos7-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-centos7-ansible

This builds a Vagrant Virtualbox Centos 7 server with Ansible installed. To automate the build, Packer is usued.

Requirements

Set the installer_iso variable to the downloaded iso image or the http mirror location of the iso image. Also, set the istaller_checksum variable. This can be found on the mirror site with filename sha256sum.txt.

Build instruction

$ packer build centos7.json

Testing

Running with the included Vagrantfile will add a vagrant box to the "box list". If there is an existing box "centos7-virtualbox", it will be used instead of the new build.

To determine if box exist:

$ vagrant box list

If "centos7-virtualbox" exist, remove it first:

$ vagrant box remove centos7-virtualbox

Then run:

$ vagrant up

About

Centos 7 Infrastructure Server with Ansible. Build with Packer.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages