Skip to content

Commit

Permalink
just in case, locale tasks only for Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
vivaserver committed Dec 29, 2014
1 parent bd58b37 commit ff320fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/dotfiles.yml
Expand Up @@ -17,21 +17,25 @@
# same as in /etc/environment?
- name: fix locale
lineinfile: dest=/etc/default/locale line='LANGUAGE="en_US:en"'
when: ansible_distribution == "Ubuntu"
sudo: yes
tags:
- locale
- name: fix locale
lineinfile: dest=/etc/default/locale line='LC_ALL="en_US.UTF-8"'
when: ansible_distribution == "Ubuntu"
sudo: yes
tags:
- locale
- name: fix locale
lineinfile: dest=/etc/default/locale line='LANG="en_US.UTF-8"'
when: ansible_distribution == "Ubuntu"
sudo: yes
tags:
- locale
- name: fix locale
command: sudo locale-gen en_US.UTF-8
when: ansible_distribution == "Ubuntu"
sudo: yes
tags:
- locale

0 comments on commit ff320fa

Please sign in to comment.