From 53fe87bf1df6383d9e882dd65a1d7b9945dc7710 Mon Sep 17 00:00:00 2001 From: "Glenn K. Lockwood" Date: Sun, 26 Jul 2020 20:15:14 -0700 Subject: [PATCH] fix idempotency issue on newer OSes --- roles/common/tasks/linux-facts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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