A very good point.  I was looking at it as a file of strings that needed to 
be modified.  It didn't occur to me to look at the purpose of the file and any 
modules written directly for the file.
    Thanks!
    -Mark


--------------------------------------------------------------------------------------------------------------------------
Mark Tovey - UNIX Engineer 
DSV | 110 N Marine Dr. | Bldg 1 | Portland | Oregon | 97217 | USA
[email protected] | +1 503 222-5546

-----Original Message-----
From: [email protected] <[email protected]> On 
Behalf Of S C Rigler
Sent: Tuesday, March 19, 2019 11:19 AM
To: [email protected]
Subject: Re: [ansible-project] replace module cannot crashes when encountering 
Danish characters

Assuming you're talking about the local /etc/passwd file, the user module can 
handle the gecos field.

--Steve

On Tue, Mar 19, 2019 at 12:47 PM 'Mark Tovey - DSV' via Ansible Project 
<[email protected]> wrote:
>
>
>
>     Thanks!
>
>
>
>
>
> ----------------------------------------------------------------------
> ----------------------------------------------------
>
> Mark Tovey - UNIX Engineer
>
> DSV | 110 N Marine Dr. | Bldg 1 | Portland | Oregon | 97217 | USA
>
> [email protected] | +1 503 222-5546
>
>
>
> From: 'Mark Tovey' via Ansible Project 
> <[email protected]>
> Sent: Tuesday, March 19, 2019 10:03 AM
> To: Ansible Project <[email protected]>
> Subject: [ansible-project] replace module cannot crashes when 
> encountering Danish characters
>
>
>
>
>
>   I am working on a playbook to replace the comment field in a server's 
> password file.  I was trying to use the replace module to do this.  But it 
> began crashing on one server.  By elimination I was able to isolate the 
> problem to one user's account entry in the password file.  The user is Danish 
> and his name contains the minuscule character (small o with a slash through 
> it, hexadecimal f8).  If I replace that character with the 'o' character, the 
> replace module works fine, but if I put the minuscule charter back, it 
> crashes.  Interestingly, the lineinfile module does not have this problem, 
> only the replace module is affected.
>
>   The company I work for is based in Copenhagen, so this is going to be an 
> ongoing issue and I don't think I am going to be able to convince everyone to 
> spell their names differently, so the module needs to be repaired.  What is 
> the best way to submit a bug?  The version of Ansible we are currently using 
> is 2.7.5.
>
>     -Mark
>
> --
> You received this message because you are subscribed to a topic in the Google 
> Groups "Ansible Project" group.
> To unsubscribe from this topic, visit 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Ftopic%2Fansible-project%2FfpEQthkT6jE%2Funsubscribe&amp;data=02%7C01%7Cmark.tovey%40dsv.com%7C7f61937fea70404fcac308d6ac977d1f%7C4a90c23a3ece4ef2b857522f23b8204c%7C0%7C0%7C636886163972842899&amp;sdata=DsRhvt9oH0jqgMS9CKzGDys3fNHBqaRe72Q4m9uGJfo%3D&amp;reserved=0.
> To unsubscribe from this group and all its topics, 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fansible-project%2F7d0741ac-7079-47f4-85b1-31d41f6e3d37%2540googlegroups.com&amp;data=02%7C01%7Cmark.tovey%40dsv.com%7C7f61937fea70404fcac308d6ac977d1f%7C4a90c23a3ece4ef2b857522f23b8204c%7C0%7C0%7C636886163972842899&amp;sdata=j7HALprhAI36U88v4wc%2BZjrhkL%2F5HLhpsqYRHiAP1xs%3D&amp;reserved=0.
> For more options, visit 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&amp;data=02%7C01%7Cmark.tovey%40dsv.com%7C7f61937fea70404fcac308d6ac977d1f%7C4a90c23a3ece4ef2b857522f23b8204c%7C0%7C0%7C636886163972842899&amp;sdata=Yv4IdBmKZ8Yebf0cURxOUK5E%2B90d5TTrVJzHIQLx4pc%3D&amp;reserved=0.
>
> --
> 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fansible-project%2FAM5PR0602MB27716124F8CBE7353FD9EAE69E400%2540AM5PR0602MB2771.eurprd06.prod.outlook.com&amp;data=02%7C01%7Cmark.tovey%40dsv.com%7C7f61937fea70404fcac308d6ac977d1f%7C4a90c23a3ece4ef2b857522f23b8204c%7C0%7C0%7C636886163972842899&amp;sdata=gtTQoV4suxjsrG8%2BBH0lDUtu6pLLJLa4VgxoN%2FzWmbY%3D&amp;reserved=0.
> For more options, visit 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&amp;data=02%7C01%7Cmark.tovey%40dsv.com%7C7f61937fea70404fcac308d6ac977d1f%7C4a90c23a3ece4ef2b857522f23b8204c%7C0%7C0%7C636886163972842899&amp;sdata=Yv4IdBmKZ8Yebf0cURxOUK5E%2B90d5TTrVJzHIQLx4pc%3D&amp;reserved=0.

--
You received this message because you are subscribed to a topic in the Google 
Groups "Ansible Project" group.
To unsubscribe from this topic, visit 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Ftopic%2Fansible-project%2FfpEQthkT6jE%2Funsubscribe&amp;data=02%7C01%7Cmark.tovey%40dsv.com%7C7f61937fea70404fcac308d6ac977d1f%7C4a90c23a3ece4ef2b857522f23b8204c%7C0%7C0%7C636886163972852903&amp;sdata=tURBenp5cvGu9rPD8b64pfffp1yB6iFUn7Bvras2QRk%3D&amp;reserved=0.
To unsubscribe from this group and all its topics, 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fansible-project%2FCAFbiokdqaasz%253D_dmq%252By9YNpoP1kP-wjVsX6QsYSOawRk1UaQ7Q%2540mail.gmail.com&amp;data=02%7C01%7Cmark.tovey%40dsv.com%7C7f61937fea70404fcac308d6ac977d1f%7C4a90c23a3ece4ef2b857522f23b8204c%7C0%7C0%7C636886163972852903&amp;sdata=AkWL2MDERzxPOEIncmv3ghWpzgW0%2BMP%2BLcOeb76KE%2Bs%3D&amp;reserved=0.
For more options, visit 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&amp;data=02%7C01%7Cmark.tovey%40dsv.com%7C7f61937fea70404fcac308d6ac977d1f%7C4a90c23a3ece4ef2b857522f23b8204c%7C0%7C0%7C636886163972852903&amp;sdata=vDTYMVajqAMlTdXKpQF4NJjfkw435qZeq80G%2F%2FZAQYM%3D&amp;reserved=0.

-- 
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/AM5PR0602MB2771D9B8FD338F9BA543B7AF9E400%40AM5PR0602MB2771.eurprd06.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to