conky

ansible-role-conky

Ansible

Ansible role for installing conky and performing basic setup and configuration. Basic .conkyrc copied from [doyousketch2] (https://gist.github.com/doyousketch2/c0088f3827025ee037735f156e2c903c) and adjusted slightly.

Requirements

Poetry. Install it from https://python-poetry.org/docs/

Role Variables

config_owner:
  String (mandatory) to specify the Linux user that should have conky setup for them.
  Default: "{{ ansible_user_id }}"

config_owner_primary_group:
  String (optional) to specify the group ownership for the conky setup.
  Default: "{{ config_owner }}"

These variables are found in defaults/main.yml, and of most them are used with the conkyrc.j2 template.

alignment
background
border_outer_margin
border_width
cpu_avg_samples
default_color: white
default_outline_color
default_shade_color
draw_borders
draw_graph_borders
draw_outline
draw_shades
double_buffer
extra_newline
font
gap_x
gap_y
no_buffers
out_to_console
out_to_stderr
own_window
own_window_class
own_window_transparent
own_window_type
own_window_hints
short_units
stippled_borders
update_interval
uppercase
use_xft
use_spacer
show_graph_scale
show_graph_range
conky_text

Dependencies

None

Example Playbook

- hosts: all
  roles:
     - { role: avnes.ansible-role-conky, config_owner: 'maya' }

For pip compability

poetry export --dev --output requirements.txt

Test

poetry install
poetry shell
molecule test

License

MIT

Author Information

https://github.com/avnes/

About

Will install conky and setup basic configuration

Install
ansible-galaxy install avnes/ansible-role-conky
GitHub repository
License
mit
Downloads
1011
Owner
Lead {Site Reliability, Cloud, DevOps, Platform} Engineer