diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-20 20:55:03 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-20 20:55:03 +0200 |
| commit | 19a7d7053b721a22b805ba7a9daff1cb7a70a630 (patch) | |
| tree | e5f394ec8e01d66f3aa7e944d356a4bbb1509711 /roles/locales | |
| parent | 534e7486f3db1f56e9a4f54572c8724c2aca88f4 (diff) | |
Migrate to the new loop syntax
Diffstat (limited to 'roles/locales')
| -rw-r--r-- | roles/locales/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/locales/tasks/main.yml b/roles/locales/tasks/main.yml index e87bf5fb..9a0ec6ee 100644 --- a/roles/locales/tasks/main.yml +++ b/roles/locales/tasks/main.yml @@ -18,7 +18,7 @@ that: - "item in (locales_content.content | b64decode)" fail_msg: "Locale '{{ item }}' not found in /etc/locale.gen." - with_items: "{{ locales }}" + loop: "{{ locales }}" - name: "Check if required locales are generated" ansible.builtin.shell: | @@ -39,7 +39,7 @@ mode: "0644" regexp: "^#{{ item }}" line: "{{ item }}" - with_items: "{{ locales }}" + loop: "{{ locales }}" - name: "Generate locales" ansible.builtin.command: |
