https://github.com/eglavin/ansible-playbook
Ansible Playbook to automate the installation of some of the tools I use on both ubuntu and osx.
https://github.com/eglavin/ansible-playbook
ansible dotfiles osx ubuntu
Last synced: about 2 months ago
JSON representation
Ansible Playbook to automate the installation of some of the tools I use on both ubuntu and osx.
- Host: GitHub
- URL: https://github.com/eglavin/ansible-playbook
- Owner: eglavin
- Created: 2024-02-25T14:52:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-12T20:41:03.000Z (over 1 year ago)
- Last Synced: 2025-01-31T15:52:02.175Z (over 1 year ago)
- Topics: ansible, dotfiles, osx, ubuntu
- Language: Shell
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible playbook
## Prerequisites
Requirements: `Python` and [`Ansible`](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)
### Install with apt
```sh
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install ansible
```
The `prepare-ubuntu.sh` script will run these steps for you.
### Install with brew
```sh
brew install ansible
```
## Usage
The `run.sh` script will install the required roles and run the playbook for you, stopping to prompt you for your login details.
Alternatively you can run it manually with the following command:
```sh
ansible-playbook ./roles/main.yml --user $(whoami) --ask-pass --ask-become-pass
```