Playbook for nadoka-ccvps.n-z.jp
% git clone https://github.com/nadoka/ansible-playbook-nadoka-ccvps
% cd ansible-playbook-nadoka-ccvps
% vagrant up
$ cd /vagrant
$ ansible-playbook -i provision/hosts provision/site.yml -c local
$ git clone https://github.com/nadoka/ansible-playbook-nadoka-ccvps
$ cd ansible-playbook-nadoka-ccvps
$ ./provision/provision.sh
Setup ~/.ssh/config
, e.g.:
Host nadoka-ccvps nadoka-ccvps.n-z.jp
Hostname nadoka-ccvps.n-z.jp
User znz
HostKeyAlias nadoka-ccvps
UserKnownHostsFile ~/.ssh/nadoka.known_hosts
And run:
$ ansible-galaxy install -f -p provision/roles -r provision/roles/Rolefile
$ ansible-playbook -i provision/hosts provision/site.yml