An open API service indexing awesome lists of open source software.

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.

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
```