A local-only Ansible playbook for setting up current user's environment on a Debian-based system.
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
You can run specific parts of the playbook with:
uvx --from 'ansible>=11' ansible-playbook --ask-become-pass setup.yml --tags <tag>
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
You can get tools version with:
uvx --from 'ansible' ansible --version
uvx ansible-lint --nocolor --version