Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

hannahs-family/infrastructure-old

Repository files navigation

Infrastructure

Dependencies

System Requirements

External Playbooks

Setup

  1. Put the .ansible-password file in ansible/.

  2. Install Python dependencies:

    pipenv install
    pipenv shell
    
  3. Install Ansible dependencies:

    ansible-galaxy install -r requirements.yml
    

Running

Bootstrapping

Given a new host new_host at 192.168.1.1 and accessible over SSH as root:

  1. 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
  2. Install sshpass:

    brew install https://raw.githubusercontent.com/hannah-family/infrastructure/master/Library/Formula/sshpass.rb
    
  3. Provision the new host with the --bootstrap option:

    ./make.py --bootstrap new_host all
    

Applying Playbooks

./make.py --help

Copyright

Copyright © 2019 hannahs.family. Licenesed under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published