Bug#873585: replace is not encoding agnostic anymore

2019-02-25 Thread Lee Garrett
Hi, can you reproduce this issue in the current 2.7.7+dfsg-1? I recently switched the ansible package from python 2 to 3, and python 3 handles encoding very differently. Regards, Lee On Tue, 29 Aug 2017 10:19:44 +0100 Klaus Ethgen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > >

Bug#873585: replace is not encoding agnostic anymore

2017-08-29 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Package: ansible Version: 2.3.1.0+dfsg-2 Severity: important I have the following stuff in my ansible tasks: {{{yaml - - name: Keep all passwd-entries in /etc/password sane replace: dest: /etc/passwd regexp: '^([^:]+):[^:]*:' replac