- Python 3.7
- Pipenv
-
Put the
.ansible-password
file inansible/
. -
Install Python dependencies:
pipenv install pipenv shell
-
Install Ansible dependencies:
ansible-galaxy install -r requirements.yml
Given a new host new_host
at 192.168.1.1
and accessible over SSH as root
:
-
Add the new host to the correct group(s) in the appropriate inventory file with an
ansible_host
property:new_host: ansible_host: 192.168.1.1
-
Install
sshpass
:brew install https://raw.githubusercontent.com/hannah-family/infrastructure/master/Library/Formula/sshpass.rb
-
Provision the new host with the
--bootstrap
option:./make.py --bootstrap new_host all
./make.py --help
Copyright © 2019 hannahs.family. Licenesed under the terms of the MIT License.