mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
* locale_gen: search for available locales in /usr/local as well * better var name * add test for /usr/local * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> * skip /usr/local/ for Archlinux * improve/update documentation * add license file for the custom locale * add changelog frag * Update plugins/modules/locale_gen.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/11046-locale-gen-usrlocal.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
22 lines
880 B
YAML
22 lines
880 B
YAML
---
|
|
####################################################################
|
|
# WARNING: These are designed specifically for Ansible tests #
|
|
# and should not be used as examples of how to write Ansible roles #
|
|
####################################################################
|
|
|
|
# Copyright (c) 2014, James Tanner <tanner.jc@gmail.com>
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
- name: Bail out if not supported
|
|
ansible.builtin.meta: end_play
|
|
when: ansible_distribution not in ('Ubuntu', 'Debian', 'Archlinux')
|
|
|
|
- name: Run tests auto-detecting mechanism
|
|
ansible.builtin.include_tasks: basic.yml
|
|
loop: "{{ locale_list_basic }}"
|
|
loop_control:
|
|
loop_var: locale_basic
|
|
|
|
- name: Run tests for 11046
|
|
ansible.builtin.include_tasks: 11046-usrlocal.yml
|