issue #429: install i18n-related bits in test images.
This commit is contained in:
parent
ec789513dc
commit
960e505f07
|
@ -30,6 +30,7 @@
|
|||
"9":
|
||||
- libjson-perl
|
||||
- python-virtualenv
|
||||
- locales
|
||||
CentOS:
|
||||
"5":
|
||||
- perl
|
||||
|
@ -67,12 +68,24 @@
|
|||
with_items:
|
||||
- /var/cache/apt
|
||||
- /var/lib/apt/lists
|
||||
|
||||
- copy:
|
||||
dest: /etc/locale.gen
|
||||
content: |
|
||||
fr_FR.UTF-8 UTF-8
|
||||
when: distro == "Debian"
|
||||
|
||||
- shell: locale-gen
|
||||
when: distro == "Debian"
|
||||
|
||||
# Vanilla Ansible needs simplejson on CentOS 5.
|
||||
- shell: mkdir -p /usr/lib/python2.4/site-packages/simplejson/
|
||||
when: distro == "CentOS" and ver == "5"
|
||||
|
||||
- synchronize:
|
||||
dest: /usr/lib/python2.4/site-packages/simplejson/
|
||||
src: ../../ansible_mitogen/compat/simplejson/
|
||||
when: distro == "CentOS" and ver == "5"
|
||||
|
||||
- user:
|
||||
name: root
|
||||
|
|
Loading…
Reference in New Issue