Skip to content

A local-only Ansible playbook for setting up current user's environment.

License

Notifications You must be signed in to change notification settings

marcwrobel/setup

Repository files navigation

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 on the environment you want to set up.

Then install the plugins and the versions specified in the .tool-versions file:

asdf plugin-add uv
asdf install

Finally run the playbook with:

uvx --from 'ansible>=11' ansible-playbook --ask-become-pass setup.yml

Running parts of the playbook

You can run specific parts of the playbook with:

uvx --from 'ansible>=11' ansible-playbook --ask-become-pass setup.yml --tags <tag>

Linting

Code linting is done with ansible-lint, and is automatically run by the CI pipeline. You can run it locally with:

uvx ansible-lint --strict --fix=all

Tools versions

You can get tools version with:

uvx --from 'ansible' ansible --version
uvx ansible-lint --nocolor --version

About

A local-only Ansible playbook for setting up current user's environment.

Topics

Resources

License

Stars

Watchers

Forks