Open kamino opened 8 years ago
An error reported by an user:
$ ansible-playbook -i hosts/example playbooks/playbook.yml -u irma -K [...] ok: [10.255.10.32] => (item={'value': u'fr_FR.UTF-8', 'key': u'LC_MESSAGES'}) => {"changed": false, "invocation": {"module_args": {"name": "fr_FR.UTF-8", "state": "present"}, "module_name": "locale_gen"}, "item": {"key": "LC_MESSAGES", "value": "fr_FR.UTF-8"}, "msg": "OK", "name": "fr_FR.UTF-8"} failed: [10.255.10.32] (item={'value': u'fr_LU:fr', 'key': u'LANGUAGE'}) => {"failed": true, "invocation": {"module_args": {"name": "fr_LU:fr", "state": "present"}, "module_name": "locale_gen"}, "item": {"key": "LANGUAGE", "value": "fr_LU:fr"}, "msg": "The locales you've entered is not available on your system."}
Here are the useful env vars:
LANG=fr_LU.UTF-8 LANGUAGE=fr_LU:fr
I think that the problem is in https://github.com/quarkslab/irma-ansible/blob/master/roles/quarkslab.irma_provisioning_common/tasks/locales.yml#L3-L8. It should be "LANG=" instead of "LANG" but I have not tested it.
"LANG="
"LANG"
👍 LANG= solve the bug for me
An error reported by an user:
Here are the useful env vars:
I think that the problem is in https://github.com/quarkslab/irma-ansible/blob/master/roles/quarkslab.irma_provisioning_common/tasks/locales.yml#L3-L8. It should be
"LANG="
instead of"LANG"
but I have not tested it.