2 shell: "grep -c '^ru_RU.KOI8-R' /etc/locale.gen || :"
6 msg: "Creating and regenerating locales..."
7 changed_when: true # Force notification
8 notify: Configure locales
9 when: has_locales.stdout == "0"
12 msg: "Locales has already been created"
13 when: has_locales.stdout != "0"