Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 99db61d1f1 | |||
| 57f9ce19d6 |
@@ -8,7 +8,7 @@ namespace: dede
|
|||||||
name: common
|
name: common
|
||||||
|
|
||||||
# The version of the collection. Must be compatible with semantic versioning
|
# The version of the collection. Must be compatible with semantic versioning
|
||||||
version: 0.3.1
|
version: 0.3.3
|
||||||
|
|
||||||
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
||||||
readme: README.md
|
readme: README.md
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
register: locale_config_status
|
register: locale_config_status
|
||||||
changed_when: false
|
changed_when: false
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
check_mode: false
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: localectl status
|
cmd: localectl status
|
||||||
|
|
||||||
- name: remember current LANG config
|
- name: remember current LANG config
|
||||||
when: not locale_config_status is skipped
|
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
locale_config_current: "{{ locale_config_status.stdout | regex_search('LANG=([^\n]+)', '\\1') | first }}"
|
locale_config_current: "{{ locale_config_status.stdout | regex_search('LANG=([^\n]+)', '\\1') | first }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user