Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustinspecker/ansible-dotfiles
I DevOps'd my dotfiles
https://github.com/dustinspecker/ansible-dotfiles
ansible dotfiles fzf git hub node nvm tmux vim zsh
Last synced: 2 days ago
JSON representation
I DevOps'd my dotfiles
- Host: GitHub
- URL: https://github.com/dustinspecker/ansible-dotfiles
- Owner: dustinspecker
- License: mit
- Created: 2019-01-06T01:05:42.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-07-06T21:30:44.000Z (4 months ago)
- Last Synced: 2024-07-06T22:33:39.312Z (4 months ago)
- Topics: ansible, dotfiles, fzf, git, hub, node, nvm, tmux, vim, zsh
- Language: Jinja
- Homepage:
- Size: 397 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# ansible-dotfiles
> I DevOps'd my dotfiles
## Usage (Ubuntu only)
If you're comfortable piping `wget` output to `bash`, you may do the following:
```bash
wget -O - https://raw.githubusercontent.com/dustinspecker/ansible-dotfiles/main/install-ubuntu.sh | bash
```This will install `ansible`, fetch this repository, and execute the playbook.
## Manual Usage
1. Install `ansible-playbook`
- [Ubuntu](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#latest-releases-via-apt-ubuntu)
1. Clone this git repository
1. Navigate to the cloned repository
1. `ansible-playbook -i hosts dev-env.yml --ask-become-pass`## Sets Up
1. fzf
1. Git (with gitk)
1. go
1. hub
1. nvm
1. packages_system
- bat
- fd
- jq
- silversearcher-ag
- tree
1. Tmux with (tmux package manager)
1. Vim with vim-plug
1. Zsh (with pure-prompt and z)## How to Develop Roles
1. Install Docker and make sure it's running
1. Install [pipenv](https://github.com/pypa/pipenv#installation)
- `python3.8 -m pip install pipenv==2020.11.15`
1. Navigate to ansible-dotfiles directory
1. Run `pipenv sync --dev` to install dependencies
1. Run `pipenv shell` to activate a virtualenv
1. Navigate to role (such as git)
1. Run `molecule test` to execute tests for respective role## How to Update Versions
1. Install Docker and make sure it's running
1. Install [pipenv](https://github.com/pypa/pipenv#installation)
1. Navigate to ansible-dotfiles directory
1. Run `pipenv sync --dev` to install dependencies
1. Run `pipenv shell` to activate a virtualenv
1. Run `./update-versions.sh`## How to Create New Roles
1. Scaffold via `molecule init role -r ROLE_NAME`
## License
MIT