carlba / ansible-tmux

Deploys a customized version of tmux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tmux

Deploys my tmux config

Setup the environment

  1. Create a github token at https://github.com/settings/tokens/new. (No extra scopes needed)

  2. Login to ansible-galaxy

    ansible-galaxy login --github-token '<TOKEN>'
  3. 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

Running

This role can be tested, like so:

just update
just test

Import the role from GitHub to Ansible Galaxy

  1. Import the role
    ansible-galaxy import --role-name=dotfiles-minimal carlba ansible-tmux

Example Playbook

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 }

License

MIT

About

Deploys a customized version of tmux.


Languages

Language:Just 37.6%Language:Jinja 31.9%Language:Shell 16.7%Language:Python 13.7%