Deploys my tmux 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
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-tmux
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.tmux, x: 42 }
MIT