Skip to content
/ infra Public

Ansible code to build and maintain the Infrastructure of my homelab.

Notifications You must be signed in to change notification settings

hodgesd/infra

Repository files navigation

infra

Ansible Code Infrastructure for my homelab.

Hosts

  • docker_host
  • marauder (laptop)
  • kandle
  • desktop

Mac Config

  1. Ensure Apple's command line tools are installed (xcode-select --install to launch the installer).

  2. Install Ansible:

    1. Run the following command to add Python 3 to your $PATH: export PATH="$HOME/Library/Python/3.8/bin:/opt/homebrew/bin:$PATH"
    2. Upgrade Pip: sudo pip3 install --upgrade pip
    3. Install Ansible: pip3 install ansible
  3. Clone or download this repository to your local drive.

  4. Run ansible-galaxy install -r requirements.yml inside this directory to install required Ansible roles.

  5. Run ansible-playbook main.yml --ask-become-pass inside this directory. Enter your macOS account password when prompted for the 'BECOME' password.

  6. Marvel at the wonders of Infrastructre as Code!

Note: If some Homebrew commands fail, you might need to agree to Xcode's license or fix some other Brew issue. Run brew doctor to see if this is the case.

About

Ansible code to build and maintain the Infrastructure of my homelab.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published