Skip to content

AlbanAndrieu/ansible-conky

Repository files navigation

Nabla roles/alban_andrieu_conky

This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.

License Branch Ansible Galaxy Platforms

Ensures that conky is installed (using apt)

Installation

This role requires at least Ansible v2.3.0.0. To install it, run:

Using ansible-galaxy:

$ ansible-galaxy install alban.andrieu.conky

Using arm (Ansible Role Manager):

$ arm install alban.andrieu.conky

Using git:

$ git clone https://github.com/AlbanAndrieu/ansible-conky.git

Install conky

sudo add-apt-repository ppa:norsetto/ppa

sudo apt-get install conky-all
# sudo apt-get install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack lha arj cabextract file-roller
sudo apt-get install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller
sudo apt-get install nvidia-utils-550-server lm-sensors

It will use :

$ git clone https://github.com/AlbanAndrieu/MyConkyConfig

Documentation

More information about alban.andrieu.conky can be found in the TODO official alban.andrieu.conky documentation.

Role variables

List of default variables available in the inventory:

conky_enabled: yes                       # Enable module
conky_manager_enabled: no                # Disable module
conky_techno_enabled: no                 # Disable module
conky_sensor_enabled: no                 # Disable module
# Package states: present or installed or latest
conky_pkg_state: present
# Repository states: present or absent
conky_repository_state: present

#user: 'albandri' #please override me
user: "{{ lookup('env','USER') }}"
conky_owner: "{{ user }}"
conky_group: "{{ conky_owner }}"
#home: '~' #please override me
home: "{{ lookup('env','HOME') }}"
conky_owner_home: "{{ home }}"
conky_home: "{{ conky_owner_home }}.conky"
conky_themes_url: http://download2041.mediafire.com/c9971ynuzcag/icvmpzhlk7vgejt/default-themes-extra-1.cmtp.7z
conky_dir_tmp: "/tmp" # or override with "{{ tempdir.stdout }} in order to have be sure to download the file"

conky_eth: "eth1"
conky_wlan: "wlan1"
conky_transparent: "yes"

conky_repo_files :
       - "ppa_launchpad_net_noobslab_noobslab_conky_ubuntu.list"

Detailed usage guide

Run the following command :

ansible-playbook -i hosts -c local conky.yml -vvvv --ask-become-pass --become | tee setup.log

Testing

$ ansible-galaxy install alban.andrieu.conky
$ vagrant up

Contributing

The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.

For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors and license

roles/alban_andrieu_conky role was written by:

License

Feedback, bug-reports, requests, ...

Are welcome!


This role is part of the Nabla project. README generated by Ansigenome.


Alban Andrieu

linkedin