I'm not sure what I was thinking but this has nothing to do with the 'u' -
the code is working just as expected since these lines do not yet exist.
What I needed to use was lineinfile, not replace. Changes highlighted below
and it's working now.
> ---
> - hosts: all
> gather_facts: False
>
I'm trying to use the replace module to update SSL ciphers and seem to be
running into a Unicode issue.
The code:
---
- hosts: all
gather_facts: False
become: True
vars:
text_for_EL6:
- { regexp: '^KexAlgorithms', line: 'KexAlgorithms
diffie-hellman-group-exchange-sha256' }