[ansible-project] Re: ansible replace with_items prepends the letter 'u'

2018-05-04 Thread expectant . sprite
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 >

[ansible-project] ansible replace with_items prepends the letter 'u'

2018-05-04 Thread expectant . sprite
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' }