Skip to content

Development Setup

GitHub release (latest SemVer) Tests Docs License pre-commit Contributor Covenant

My own Ansible collection for development setup (use by your own risk).

Features

Mac OS

  • Applications installed with Mac App Store.
  • Applications installed with Homebrew Cask.
  • Tools/Package installed with Homebrew.
  • Tools installed with pipx.

Linux

  • Comming soon ...

Quickstart

Starting from a brand-new machine.

  1. Download this repository to your local drive.

  2. Install requirements:

    Create a temporary virtualenv, activate the virtualenv and install ansible:

    /usr/bin/python3 -m venv .venv. .venv/bin/activatepip3 install ansibleInstalled

  3. Install ansible requirements ansible-galaxy install -r requirements.yml.

  4. Copy inventory.example into inventory and set the desired <target-os> (macos):

    [<target-os>]
    127.0.0.1 ansible_connection=local ansible_python_interpreter=/usr/bin/python3
    

    to e.g.:

    [macos]
    127.0.0.1 ansible_connection=local ansible_python_interpreter=/usr/bin/python3
    
  5. Run ansible-playbook playbooks/main.yml --ask-become-pass -i inventory.

For a more detailed usage guide by OS, including remote machine setup and configuration options, please refer to the Usage Section in the official documentation.

Author Information

This playbook was created in 2020 by Federico Jaureguialzo.