|
|
@ -7,7 +7,7 @@ from subprocess import Popen, PIPE, call
|
|
|
|
|
|
|
|
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
|
module: locale
|
|
|
|
module: locale_gen
|
|
|
|
short_description: Creates of removes locales.
|
|
|
|
short_description: Creates of removes locales.
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Manages locales by editing /etc/locale.gen and invoking locale-gen.
|
|
|
|
- Manages locales by editing /etc/locale.gen and invoking locale-gen.
|
|
|
@ -29,7 +29,7 @@ options:
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES = '''
|
|
|
|
EXAMPLES = '''
|
|
|
|
# Ensure a locale exists.
|
|
|
|
# Ensure a locale exists.
|
|
|
|
- locale: name=de_CH.UTF-8 state=present
|
|
|
|
- locale_gen: name=de_CH.UTF-8 state=present
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================
|
|
|
|
# ===========================================
|
|
|
|