l3d.weechat
Ansible WeeChat Role
This is an Ansible role designed to install and configure WeeChat, an extensible chat client.
What This Role Can Do:
- Install WeeChat on Debian, Ubuntu, Arch Linux, or Fedora.
- Include configuration from a private Git repository.
- Set up autostart using
tmux
andsystemd
.
Settings
Installation
weechat__install: true
true
: Installs WeeChat and adds the official WeeChat APT source, along with some plugin support and documentation.false
: Does not install WeeChat.
Autostart
weechat__autostart: false
false
: No autostart mechanism is installed.true
: Installstmux
and creates a systemd service to launch WeeChat in atmux
session as the user specified.
Plugins Installation
weechat__install_plugins: false
false
: No WeeChat plugins are installed.true
: Installs all official plugins listed in the{{ weechat.plugins }}
dictionary.
Custom Configuration
weechat__use_custom_config: false
false
: No custom configuration from your Git repository is provided.true
: Uses your WeeChat configuration from your own Git repository.
User Configuration
weechat__user: "{{ ansible_user_id }}"
- The user under which WeeChat will run.
Home Directory
weechat__home_directory: "{{ ansible_env.HOME | default('/home/{{ weechat__user }}') }}"
- Path to the WeeChat home directory.
GPG ID
weechat__gpg_id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E'
- GPG fingerprint from the official WeeChat Debian repository.
Custom Git Repository
weechat__custom_private_repo: false
- Specifies whether to clone your personal Git repository containing your WeeChat configuration.
SSH Key Pair
weechat__custom_gen_ssh_key_pair: true
true
: Generates an SSH key pair if it doesn’t exist and prints the public key. This is necessary for accessing your private Git repository without a username/password.false
: Does not manage access to your Git repository.
Custom Version
weechat__custom_version: main
- Specifies the Git branch, tag, or version to use if you are using a custom Git repository for your configuration.
References and Inspirations
- Installation instructions for Debian/Ubuntu: weechat.org/download/debian
- Configuration inspiration from github.com/irth/ansible-role-weechat.
- Information on autostart and systemd: Ubuntu Wiki and Ansible Documentation.
Requirements
To use this role, you need the community.general
and community.crypto
collections. Install them using:
ansible-galaxy collection install -r requirements.yml --upgrade
Contributing
If you notice a missing feature, find a bug, or have questions about this role, please open a Git issue or create a pull request.
License
Copyright (c) 2019 L3D l3d@c3woc.de
You can find a complete list of contributors here.
Informazioni sul progetto
Install and optional configure weechat via ansible
Installa
ansible-galaxy install l3d.weechat
Licenza
mit
Download
2.7k
Proprietario
Ansible roles provide a framework for fully independent, or interdependent collections of variables,tasks,files,templates &modules. Here we maintain some. enjoy