avnes.conky

ansible-role-conky

Ansible

Conkyをインストールし、基本的なセットアップと設定を行うためのAnsibleロールです。基本の.conkyrcは[doyousketch2] (https://gist.github.com/doyousketch2/c0088f3827025ee037735f156e2c903c)からコピーし、少し調整を加えています。

必要条件

Poetryをインストールしてください。インストール方法は https://python-poetry.org/docs/ を参照してください。

ロール変数

config_owner:
  文字列(必須)で、Conkyのセットアップを行うLinuxユーザーを指定します。
  デフォルト: "{{ ansible_user_id }}"

config_owner_primary_group:
  文字列(オプション)で、Conkyのセットアップに対するグループ所有権を指定します。
  デフォルト: "{{ config_owner }}"

これらの変数はdefaults/main.ymlにあり、そのほとんどはconkyrc.j2テンプレートと一緒に使用されます。

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

依存関係

なし

サンプルプレイブック

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

pip互換性のために

poetry export --dev --output requirements.txt

テスト

poetry install
poetry shell
molecule test

ライセンス

MIT

著者情報

https://github.com/avnes/

プロジェクトについて

Will install conky and setup basic configuration

インストール
ansible-galaxy install avnes.conky
ライセンス
mit
ダウンロード
1k
所有者
Lead {Site Reliability, Cloud, DevOps, Platform} Engineer