Deploys my vim config
-
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
python3 -m venv venv; source venv/bin/activate pip install -r requirements.txt pip install -e . ansible-galaxy install --force -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-vim
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.vim, x: 42 }
MIT