Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.08 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.08 KB

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.