carlba / ansible-role-dotfiles-minimal

eploys my personalized dotfiles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles minimal

Deploys my minimal personalized dotfiles suitable for CLI usage.

This commit is for testing purposes.

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-role-dotfiles-minimal

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.dotfiles_minimal, x: 42 }

TODO

This is needed to configure locale on Manjaro linux

sudo localectl set-locale LANG=en_US.UTF-8

License

MIT

About

eploys my personalized dotfiles.