Create locale-gen using ansible

153 views
Skip to first unread message

Krish Puvi

unread,
Apr 26, 2017, 9:09:55 AM4/26/17
to Ansible Project
Hi,

I'm trying to install local-gen and point it to en_GB.UTF-8. Does anyone know how to do this please?

- locale_gen:
    name: de_CH.UTF-8
    state: present
But I got the following error,
fatal: [127.0.0.1]: FAILED! => {"changed": false, "failed": true, "msg": "/etc/locale.gen and /var/lib/locales/supported.d/local are missing. Is the package \"locales\" installed?"}

Thanks


Dick Visser

unread,
Apr 27, 2017, 1:16:30 PM4/27/17
to ansible...@googlegroups.com
Please read the error that you pasted.

Also, you copy/pasted the documentation example which is for a different locale?

Dick


--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8fa861dc-5731-4129-ae85-0d62a07717a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Dick Visser
Sr. System & Network Engineer
GÉANT

Want to join us? We're hiring: https://www.geant.org/jobs
Reply all
Reply to author
Forward
0 new messages