tetsuya/kochiku-vps

★ 0Forks 0GitHub ↗Compare

README

Kochiku::VPS

Prerequisite

  • ansible 2.0 or higher

There are several ways to install Ansible. If you are running on a Mac OS X, it is easiest to install through Homebrew/homebrew.

Check ansible/ansible for detailed installation instruction.

Prepare a vagrant box

The easiest way is to add a box from Vagrant Cloud. In this repo, Vagrantfile will automatically download CentOS Linux 7/x86_64 Vagrant images.

To get started run:

$ vagrant up

Check the installation

$ ansible -i development 192.168.33.10 -m ping
192.168.33.10 | SUCCESS => {
    "changed": false,
    "ping": "pong"
}

Provision a server with Ansible

$ ansible-playbook -i development playbook.yml --extra-vars "app_name=<your application name>"

Contributors

tetsuya

Issues