Skip to content

Provisioning new hosts

Aaron D Borden edited this page May 15, 2020 · 9 revisions

Ansible

Before we can run ansible, we need to install python on the hosts. TODO: include python in the AMI so this step isn't necessary.

$ for host in ...; do ssh $host DEBIAN_FRONTEND=noninteractive apt-get install -y python; done

Disk mounts

All hosts are provisioned with a 16G volume for /var/log. The disk must be manually initialized and mounted. Some instances (solr, jenkins) have additional volumes for data which also must be manually initialized and mounted.

TODO: add specific commands here or a script. initialize-stateful.sh is a good place to start.

Clone this wiki locally