Gen-hunspell Role¶
Description: No description available
Variables¶
author: Kevin Veen-Birkenbach
description: Installs Hunspell and configured language packs on Pacman-based systems for spell checking in multiple languages.
license: Infinito.Nexus NonCommercial License
license_url: https://s.infinito.nexus/license
company: Kevin Veen-Birkenbach
Consulting & Coaching Solutions https://www.veen.world
galaxy_tags: [‘hunspell’, ‘spellcheck’, ‘language’]
repository: https://s.infinito.nexus/code
issue_tracker_url: https://s.infinito.nexus/issues
documentation: https://s.infinito.nexus/code/tree/main/roles/gen-hunspell
min_ansible_version: 2.9
platforms: [{‘name’: ‘Archlinux’, ‘versions’: [‘all’]}]
README¶
Hunspell¶
Overview¶
This README accompanies the Hunspell Playbook, located within the
infinito repository. The playbook is focused on installing Hunspell,
a widely-used spell checker, along with various language packages to
enhance its functionality.
Playbook Contents¶
The main.yml file in the hunspell role includes two primary
tasks:
Install Hunspell: Utilizes the
community.general.pacmanmodule to ensure that thehunspellpackage is installed on the system.Install Hunspell Language Packages: Again using the
community.general.pacmanmodule, this task installs multiple Hunspell language packages. The specific languages to be installed are determined by the{{hunspell_languages}}variable, which should be defined as a list of language codes.
Purpose and Usage¶
This playbook is tailored for users who need a powerful and flexible spell-checking tool on their systems. Hunspell is particularly popular among writers, editors, and developers who work with text in various languages. By automating the installation of Hunspell and its language-specific packages, this playbook simplifies the setup process, allowing users to quickly get up and running with an advanced spell-checking tool.
Prerequisites¶
Ansible: This playbook requires Ansible to be installed on your system.
Arch Linux or Similar: Given the use of the
pacmanpackage manager, this playbook is designed for systems based on Arch Linux or similar distributions.
How to Run the Playbook¶
To utilize this playbook: 1. Ensure you have cloned the infinito
repository. 2. Navigate to the roles/hunspell directory within the
repository. 3. Execute the playbook using Ansible, ensuring you provide
a list of language codes to the {{hunspell_languages}} variable.
Customization¶
Users are encouraged to customize the {{hunspell_languages}}
variable based on their specific language requirements. This variable
accepts a list of language codes (e.g., ‘en_US’, ‘de_DE’).
Support and Contributions¶
For any support requests, suggestions, or contributions, please open an
issue or a pull request in the infinito repository. Contributions,
especially those that enhance the playbook’s functionality or extend its
language support, are highly welcomed.