Skip to content

nass600/ansible-role-powerline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role - Powerline

Ansible Role GitHub tag Build Status Ansible Role

Installs and configures Powerline in Linux and macOS systems.

Requirements

This role assumes you have the config files already located in your filesystem (i.e colorschemas, themes...).

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

powerline

powerline_package_name: "powerline-status"

Powerline package name to install. You can add a custom version if you need to.

powerline_version: ""

Powerline version to install. Default: empty meaning latest.

powerline_extra_segments:
  - {name: powerline-gitstatus, version: "v1.2.1"}

Additional powerline segments that should be installed.

powerline_daemon_destination: "~/.bashrc"

File where you want to set the powerline daemon launch

powerline config

powerline_config_dir: "~/.config/powerline"

Location of the powerline config files. This directory is where the main config.json is going to be created.

powerline_config_shell_colorscheme: "default"
powerline_config_shell_theme: "default"
powerline_config_vim_colorscheme: "default"
powerline_config_vim_theme: "default"

Themes used for generating the config.json.

powerline fonts

powerline_fonts_repo: "git://github.com/powerline/fonts.git"

Repository where the patched fonts are located.

powerline_fonts_dir: "{{ powerline_config_dir }}/fonts"

Directory where you want to place the downloaded fonts.

Dependencies

  • Python + Pip

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: nass600.powerline }

License

MIT

Author Information

Ignacio Velazquez

About

Ansible Role - Install and configure Powerline

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published