Windows Vagrant Ansible Docker Experiment

This is a personal experiment to get a full dev environment working on local windows machine, using Vagrant + Ansible + Docker, with the hope that eventually everything done here will allow for a quick and complete development environment setup on any OS including:

  • server deployment
  • network configuration with port redirection
  • user access setup
  • git integration

Pre-requisites

  1. Vagrant
  2. Virtual Box
    • Note: On access restricted machines, the default installation options may fail. Unchecking bridge mode network driver solved it me, with the following caveats:
      • Vagrant public_network option is not available
      • WiFi may not work while the VirtualBox Host-Only Adapter is enabled
  3. Configure and run script
    • Make a copy of ./provisioning/vars/config-main-EXAMPLE.yml as config-main.yml, read and edit
    • Copy appropriate files (such as ssh_user_sshkey and ssh_user_gitkey) into ./provisioning/files/
    • vagrant up

Sources

Ansible

Docker

  • TBD

License

- MIT (https://github.com/yisyang/win_vagrant_ansible_docker_experiment/blob/master/LICENSE)