Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 57f9ce19d6 |
@@ -18,11 +18,11 @@
|
||||
register: locale_config_status
|
||||
changed_when: false
|
||||
ignore_errors: true
|
||||
check_mode: false
|
||||
ansible.builtin.command:
|
||||
cmd: localectl status
|
||||
|
||||
- name: remember current LANG config
|
||||
when: not locale_config_status is skipped
|
||||
ansible.builtin.set_fact:
|
||||
locale_config_current: "{{ locale_config_status.stdout | regex_search('LANG=([^\n]+)', '\\1') | first }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user