]> git.phdru.name Git - ansible.git/blob - playbooks/debian/roles/init-system/tasks/locales.yml
63a3e1b527d18a28232df4c82e734cde02bf2049
[ansible.git] / playbooks / debian / roles / init-system / tasks / locales.yml
1 - name: Check locales
2   shell: "grep -c '^ru_RU.KOI8-R' /etc/locale.gen || :"
3   register: has_locales
4
5 - debug:
6     msg: "Creating and regenerating locales..."
7   changed_when: true # Force notification
8   notify: Configure locales
9   when: has_locales.stdout == "0"