I have tried escaping characters but it didn't seem to make any difference.
According to the documentation I've seen, this should work:
- name: Change keyboard layout to U.S.
lineinfile: dest=/etc/default/keyboard
regexp='XKBLAYOUT="gb"'
replace='XKBLAYOUT="us"'
But I get this error:
TASK [Change keyboard layout to U.S.]
******************************************
fatal: [raspberrypi]: FAILED! => {"changed": false, "failed": true, "msg":
"unsupported parameter for module: replace"}
The ansible version is 2.1.0.0 running on fedora 23. What am I doing wrong?
Thanks!
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/9f6a3c4c-7b93-47ac-8b72-d74afeaf3627%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.