X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Froles%2Finit-system%2Ftasks%2Flocales.yml;h=81434078bcee66d0d8dc50e766c5fbf82ba4b7c3;hb=8277fddd8479851f1a68894470df45be932c95a8;hp=58b7aa7371020c2f5ae09531e04bf7e706f0c12b;hpb=1aba98e48d7de45085bd03b9f2e58b404a732a42;p=ansible.git diff --git a/playbooks/debian/roles/init-system/tasks/locales.yml b/playbooks/debian/roles/init-system/tasks/locales.yml index 58b7aa7..8143407 100644 --- a/playbooks/debian/roles/init-system/tasks/locales.yml +++ b/playbooks/debian/roles/init-system/tasks/locales.yml @@ -1,6 +1,7 @@ - name: Check locales shell: "grep -c '^ru_RU.KOI8-R' /etc/locale.gen || :" register: has_locales + changed_when: has_locales.stdout == "0" - debug: msg: "Locales have already been configured"