My own Ansible collection for development setup (use by your own risk).
- GitHub repo: https://github.com/fedejaure/dev-setup.git
- Documentation: https://fedejaure.github.io/dev-setup/
- Free software: MIT
- Applications installed with Mac App Store.
- Applications installed with Homebrew Cask.
- Tools/Package installed with Homebrew.
- Tools installed with pipx.
- Comming soon ...
-
Download this repository to your local drive.
-
Install requirements:
Create a temporary virtualenv, activate the virtualenv and install ansible:
$ /usr/bin/python3 -m venv .venv $ . .venv/bin/activate (.venv)$ pip3 install ansible ---> 100% Installed
-
Install ansible requirements
ansible-galaxy install -r requirements.yml
. -
Copy
inventory.example
intoinventory
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
-
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.
This playbook was created in 2020 by Federico Jaureguialzo.