The Wagrant is an Ubuntu/Xenial64 based development environment.
- Ubuntu 16.04 Xenial64
- Apache
- MySQL
- PHP 7
- Ruby 2.3
- Node.js 6.x
Download latest version from following.
https://github.com/wakayama-hacker/wagrant/releases
Unzip a file and move into the Wagrant directory.
$ cd wagrant
Finally, run vagrant up
.
$ vagrant up
See also: https://www.vagrantup.com/docs/getting-started/
- VirtualBox 5.1.4 or later
- Vagrant 1.8.5 or later
Place site.yml
into vagrant root directory like following.
hostname: wacker.dev
ip: 192.168.33.10
Place provision-post.yml
into vagrant root directory like following.
- hosts: all
tasks:
- name: Install Ruby gems
become: yes
gem:
name: "{{ item }}"
state: latest
user_install: no
executable: /usr/bin/gem
with_items:
- mailcatcher
See also: http://docs.ansible.com/
Place provision-post.sh
into vagrant root directory like following.
#!/usr/bin/env bash
set -ex
sudo apt-get install nginx