Created
December 8, 2017 11:07
-
-
Save rabajaj0509/c9c35a3e626e857c99d540bfccfa55b5 to your computer and use it in GitHub Desktop.
Ansible meetup 9/12/2018
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Create a folder by the name Ansible: | |
$ mkdir Ansible | |
## Create a vagrant env: | |
$ vagrant init | |
# After creating a vagrant env, you will see a `Vagrant File` | |
$ vi Vagrantfile | |
##press dG to delete all contents of the file | |
##paste the following contents into the file: | |
Vagrant.configure("2") do |config| | |
config.vm.define "fedora" | |
config.vm.box = "fedora/25-cloud-base" | |
config.vm.box_version = "20161122" | |
end | |
##close the file and exit | |
## Create the vagrant machine: | |
$ vagrant up fedora |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisite for the above setup would be to have VAGRANT installed in your system:
You can refer : https://www.vagrantup.com/downloads.html