Skip to content

Commit

Permalink
Implement ansible-lint hints.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Jan 2, 2023
1 parent c9395cf commit 4f0d92b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ _locale_requirements:
Suse:
- timezone

locale_requirements: "{{ _locale_requirements[ansible_distribution] | default(_locale_requirements[ansible_os_family] | default(_locale_requirements['default'] )) }}"
locale_requirements: "{{ _locale_requirements[ansible_distribution] | default(_locale_requirements[ansible_os_family] | default(_locale_requirements['default'])) }}"

_locale_configuration_file:
default: /etc/locale.conf
Debian: /etc/default/locale

locale_configuration_file: "{{ _locale_configuration_file[ansible_os_family] | default(_locale_configuration_file['default'] ) }}"
locale_configuration_file: "{{ _locale_configuration_file[ansible_os_family] | default(_locale_configuration_file['default']) }}"

_locale_notify_command:
default: localectl set-locale LANG={{ locale_lang }}
Debian: update-locale LANG={{ locale_lang }}

locale_notify_command: "{{ _locale_notify_command[ansible_os_family] | default(_locale_notify_command['default'] ) }}"
locale_notify_command: "{{ _locale_notify_command[ansible_os_family] | default(_locale_notify_command['default']) }}"

0 comments on commit 4f0d92b

Please sign in to comment.