I used Vagrant and Ansible to automate the creation of an OpenShift Origin based all-in-one VM for development purposes.
NOTE: Tested only on Fedora 25
If you are on Fedora (like me):
$ dnf install @virtualization vagrant ansible
$ git clone https://github.com/deepaksrivastav/openshift-origin-allinone.git
$ cd openshift-origin-allinone
$ vagrant up
Grab a cup of coffe!
If the installation was successful, you should see something like this :
TASK [Installation Details] ****************************************************
ok: [default] => {
"msg": "Login into openshift console at https://192.168.121.160:8443 with username/password as admin/admin"
}
PLAY RECAP *********************************************************************
default : ok=4 changed=2 unreachable=0 failed=0
PS: Do not re-provision the appliance if installation fails. The playbooks are not idempotent (yet)