Used with Ubuntu 14.04 on Digital Ocean. Uses git submodules; clone with --recursive
.
-
Create a file called
hosts
in the checkout folder and populate it with server IP(s). -
Configure variables in group_vars/all.
-
Run
ansible-playbook bootstrap.yaml
to create an admin user and reconfigure SSH on the hosts. -
If you set
sshd_port
in step 2 to something other than 22, now is the time to updateremote_port
in ansible.cfg to match. -
Run
ansible-playbook main.yaml --ask-become-pass
to finish setting up the hosts.