Ansible playbook for base and initial configuration of web server hosting my personal websites.
Go to file
Alan Orth e4eb60365d
Update README.md
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-08-25 11:37:52 +03:00
group_vars Initial commit 2014-08-17 00:35:57 +03:00
host_vars Ignore contents of host_vars 2014-08-17 00:49:04 +03:00
roles Initial commit 2014-08-17 00:35:57 +03:00
vars Initial commit 2014-08-17 00:35:57 +03:00
README.md Update README.md 2014-08-25 11:37:52 +03:00
hosts Add hosts file 2014-08-17 00:38:17 +03:00
site.yml Initial commit 2014-08-17 00:35:57 +03:00

README.md

Playbook for base and initial configuration of web server hosting my personal websites.

To use

Create a new Ubuntu 14.04 host, add a user account, copy your SSH public key, then execute:

ansible-playbook site.yml -i hosts -K

Testing

For testing, use a VM, ie with KVM and libvirt:

virt-install -n web01 -r 1024 --vcpus 2 -l http://ubuntu.mirror.ac.ke/ubuntu/dists/trusty/main/installer-amd64/ --os-type=linux --os-variant=ubuntusaucy --disk /home/aorth/software/vms/web01.qcow2,device=disk,bus=virtio,format=qcow2,size=40 --vnc --cpuset=1,2 -x "auto=true priority=critical url=http://blah.com/~aorth/preseed/public/ubuntu-14.04.cfg"