Giter Club home page Giter Club logo

ansible-role-conky's Introduction

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/

ansible-role-conky's People

Contributors

avnes avatar dependabot[bot] avatar renovate-bot avatar

Watchers

 avatar  avatar  avatar

ansible-role-conky's Issues

config_owner is undefined

Running in Ubuntu Xenial with the following playbook:

  • hosts: all
    roles:
    • avnes.ansible-role-conky

TASK [avnes.ansible-role-conky : Configure Conky] ******************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'config_owner' is undefined\n\nThe error appears to have been in '/etc/ansible/roles/avnes.ansible-role-conky/tasks/main.yml': line 58, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Configure Conky\n ^ here\n"}

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Configuration option 'dryRun' should be a string

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.