Brief intro to Ansible for the first Ansible Barcelona User Group meetup in June 2015.
http://www.meetup.com/Ansible-Barcelona/events/222305386/
http://ansible-barcelona.github.io
11. $ vagrant init https://github.com/
holms/vagrant-jessie-box/releases/
download/Jessie-v0.1/Debian-jessie-
amd64-netboot.box
…
$ vagrant up
…
$ vagrant ssh-config
HostName 127.0.0.1
User vagrant
Port 2222
…
Managed Node setup
http://vagrantup.com
http://vagrantbox.es
Ansible Barcelona@AnsibleBCN
12. Managed Node security credentials
$ vagrant ssh --command "echo `cat ~/.ssh/id_rsa.pub` >> ~/.ssh/
authorized_keys”
$ ssh vagrant@localhost -p 2222
…
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2222' (RSA) to the list
of known hosts.
…
Last login: Sun Jun 7 01:21:33 2015 from 10.0.2.2
vagrant@Debian-jessie-amd64-netboot:~$ exit
Ansible Barcelona@AnsibleBCN