DEBOPS.LOCALES(5)

NAME
debops.locales - Configure localization and internationalization

SYNOPSIS

debops service/locales [--limit group,host,...] [--diff] [--check] [--tags tag1,tag2,...] [--skip-tags tag1,tag2,...] [<ansible-playbook options>] ...

DESCRIPTION

The debops.locales Ansible role manages localization and internationalization configuration, used by the locales Debian package. The role can be used as a dependency of other Ansible roles to ensure that the localization is properly configured on the host.

GETTING STARTED

  Example inventory

debops.locales is included by default in the common.yml DebOps playbook; you don't need to do anything to have it executed.

  Example playbook

If you are using this role without DebOps, here's an example Ansible playbook that uses the debops.locales role:

---
- name: Configure localization and internationalization
  collections: [ 'debops.debops', 'debops.roles01',
                 'debops.roles02', 'debops.roles03' ]
  hosts: [ 'debops_all_hosts', 'debops_service_locales' ]
  become: True
  environment: '{{ inventory__environment | d({})
                   | combine(inventory__group_environment | d({}))
                   | combine(inventory__host_environment  | d({})) }}'
  roles:
    - role: locales
      tags: [ 'role::locales', 'skip::locales' ]

AUTHOR
Maciej Delmanowski

COPYRIGHT
2014-2022, Maciej Delmanowski, Nick Janetakis, Robin Schneider and others