Deploys my minimal personalized dotfiles suitable for CLI usage.
This commit is for testing purposes.
-
Create a github token at https://github.com/settings/tokens/new. (No extra scopes needed)
-
Login to ansible-galaxy
ansible-galaxy login --github-token '<TOKEN>'
-
Install the ansible environment
virtualenv -p python3 venv; source venv/bin/activate pip install -r requirements.txt pip install . ansible-galaxy install -r requirements.yml --roles-path=tests/roles
This role can be tested, like so:
just update
just test
- Import the role
ansible-galaxy import --role-name=dotfiles-minimal carlba ansible-role-dotfiles-minimal
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: carlba.dotfiles_minimal, x: 42 }
This is needed to configure locale on Manjaro linux
sudo localectl set-locale LANG=en_US.UTF-8
MIT