GitXplorerGitXplorer
m

ansible-sample

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
707a11688a316e78a7c2d9483ccd18f5e2db34a5

git clone rbenv

mmasutaka committed 11 years ago
Unverified
4a51f29baa2bbd0b35902b0f7fdba3d9f483b6bc

Add README.md

mmasutaka committed 11 years ago
Unverified
bf284c34a06629d4ff3516abe11328b973c7078b

Add user masutaka

mmasutaka committed 11 years ago
Unverified
d8847c59279f0714bd5a65e3c2da246e546e6c83

Add zsh

mmasutaka committed 11 years ago
Unverified
988cd5e1af074700835970d083027e35af7919d9

Add README.md

mmasutaka committed 11 years ago
Unverified
e324ce3bea7991fd349482a58cedec4191bb21f8

Add ansible files

mmasutaka committed 11 years ago

README

The README file for this repository.

a sample of Ansible

Setup

Install VirtualBox and Vagrant.

Add ansible to your PC. For example,

$ brew install ansible

Add the following to your ~/.ssh/config

Host melody
  HostName 127.0.0.1
  User vagrant
  Port 2222
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile "~/.vagrant.d/insecure_private_key"
  IdentitiesOnly yes

Boot vagrant

$ vagrant up

Check to be able to execute ssh command.

$ ssh melody

Do Ansible

Checking

$ ansible-playbook -C server.yml

Do ansible!

$ ansible-playbook server.yml