|
|
@ -30,6 +30,7 @@
|
|
|
|
"9":
|
|
|
|
"9":
|
|
|
|
- libjson-perl
|
|
|
|
- libjson-perl
|
|
|
|
- python-virtualenv
|
|
|
|
- python-virtualenv
|
|
|
|
|
|
|
|
- locales
|
|
|
|
CentOS:
|
|
|
|
CentOS:
|
|
|
|
"5":
|
|
|
|
"5":
|
|
|
|
- perl
|
|
|
|
- perl
|
|
|
@ -67,12 +68,24 @@
|
|
|
|
with_items:
|
|
|
|
with_items:
|
|
|
|
- /var/cache/apt
|
|
|
|
- /var/cache/apt
|
|
|
|
- /var/lib/apt/lists
|
|
|
|
- /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"
|
|
|
|
when: distro == "Debian"
|
|
|
|
|
|
|
|
|
|
|
|
# Vanilla Ansible needs simplejson on CentOS 5.
|
|
|
|
# Vanilla Ansible needs simplejson on CentOS 5.
|
|
|
|
|
|
|
|
- shell: mkdir -p /usr/lib/python2.4/site-packages/simplejson/
|
|
|
|
|
|
|
|
when: distro == "CentOS" and ver == "5"
|
|
|
|
|
|
|
|
|
|
|
|
- synchronize:
|
|
|
|
- synchronize:
|
|
|
|
dest: /usr/lib/python2.4/site-packages/simplejson/
|
|
|
|
dest: /usr/lib/python2.4/site-packages/simplejson/
|
|
|
|
src: ../../ansible_mitogen/compat/simplejson/
|
|
|
|
src: ../../ansible_mitogen/compat/simplejson/
|
|
|
|
|
|
|
|
when: distro == "CentOS" and ver == "5"
|
|
|
|
|
|
|
|
|
|
|
|
- user:
|
|
|
|
- user:
|
|
|
|
name: root
|
|
|
|
name: root
|
|
|
|