Ansible playbook for base and initial configuration of web server hosting my personal websites.
Go to file
Alan Orth 5bcdfdd15a
README.md: Fix ansible-playbook invocation
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-08-25 14:49:53 +03:00
group_vars group_vars/all: Remove host-specific configs 2014-08-25 11:45:08 +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 README.md: Fix ansible-playbook invocation 2014-08-25 14:49:53 +03:00
hosts Add hosts file 2014-08-17 00:38:17 +03:00
site.yml Add site yml file 2014-08-25 13:21:00 +03:00
web.yml web.yml: Add os_family vars to includes 2014-08-25 13:20:43 +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 --limit=web01 -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"