Skip to content

Latest commit

 

History

History
28 lines (28 loc) · 768 Bytes

README.md

File metadata and controls

28 lines (28 loc) · 768 Bytes

Vagrant box Centos 6 with root ssh access

This Vagrant file will deploy a centos 6 operating system, assign a private ip and also enable ssh access.
examples integrating ansible with vagrant is also shown in the Vagrant file

Requirements
vagrant installation
ssh config for root access
ansible installation (optional)

Host appserver
        User root
        Hostname 192.168.10.2

comment out the lines below to integrate your ansible plays and rename "test.yml" to your play.
#        appserver.vm.provision "ansible" do |ansible|
#               ansible.playbook = "#{Dir.home}//ansible/playbooks/test.yml"
#        end

Usage:
vagrant up
ssh appserver