Working Tips On Mesos/Ansible

TurnToJPG -->

Package Prepare

We have the default vagrant box generated by bento, listed it via:

➜  mesos vagrant box list | grep -i centos | grep -i virtualbox
centos72                                     (virtualbox, 0)

Now we want to generate a new box from it, and added our own configuration:

$ vagrant init centos72
$ vagrant up
$ vagrant ssh

Edit for keeping the cache:

$ cat /etc/yum.conf  | more

Now poweroff the machine and export it to the new box:

$ vagrant package --output
$ vagrant box add centoslocalrpm

Using the new box, the rpm packages could be saved into the folder /home/vagrant/rpms.

Deploy Using Ansible

Refers to