2 shell: "grep -c '^ru_RU.KOI8-R' /etc/locale.gen || :"
6 msg: "Locales have already been configured"
7 when: has_locales.stdout != "0"
9 - name: Configure locales
17 'ru_RU.KOI8-R KOI8-R',
20 when: has_locales.stdout == "0"
22 - name: Regenerate locales
24 command: /usr/sbin/locale-gen
25 when: has_locales.stdout == "0"