https://github.com/marcwrobel/setup
A local-only Ansible playbook for setting up current user's environment.
https://github.com/marcwrobel/setup
ansible debian dotfiles linux
Last synced: about 2 months ago
JSON representation
A local-only Ansible playbook for setting up current user's environment.
- Host: GitHub
- URL: https://github.com/marcwrobel/setup
- Owner: marcwrobel
- License: mit
- Created: 2025-01-12T20:10:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-31T11:19:08.000Z (5 months ago)
- Last Synced: 2026-02-19T20:43:35.617Z (4 months ago)
- Topics: ansible, debian, dotfiles, linux
- Language: Jinja
- Homepage:
- Size: 166 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A local-only Ansible playbook for setting up current user's environment on a Debian-based system.
## Getting Started
First clone this repository and install [`asdf`](https://asdf-vm.com/guide/getting-started.html) on the environment you want to set up.
Then install the plugins and the versions specified in the `.tool-versions` file:
```bash
asdf plugin-add uv
asdf install
```
Finally, run the playbook (check mode) with:
```bash
uvx --from 'ansible>=11' ansible-playbook --ask-become-pass setup.yml --check
```
## Running parts of the playbook
You can run specific parts of the playbook (check mode) with:
```bash
uvx --from 'ansible>=11' ansible-playbook --ask-become-pass setup.yml --tags --check
```
## Linting
Code linting is done with `ansible-lint`, and is automatically run by the CI pipeline. You can run it locally with:
```bash
uvx ansible-lint --strict --fix=all
```
## Tools versions
You can get tools version with:
```bash
uvx --from 'ansible' ansible --version
uvx ansible-lint --nocolor --version
```