diff --git a/roles/common/tasks/linux-facts.yml b/roles/common/tasks/linux-facts.yml index 7075d5a..2835d55 100644 --- a/roles/common/tasks/linux-facts.yml +++ b/roles/common/tasks/linux-facts.yml @@ -6,7 +6,7 @@ check_mode: no - name: get locale - shell: "locale | grep ^LANG | cut -d= -f2" + shell: "locale | grep '^LANG=' | cut -d= -f2" register: linux_locale changed_when: False check_mode: no