On Tuesday 12 April 2022 at 17:59:09, Gabz Modz wrote:

> Hello :)
> 
> I have a playbook that generates the creation of an AD account, it works
> very well.

... for a restricted input data set ...

> Example:
> The account of Toto PIERRE with the email address [email protected] is
> created correctly.
> 
> The account of Médéric GOT with the email address médé[email protected] the
> samacount is created with an accent "é", is there a method like CAPITALIZE
> or UPPER ect... which allows to remove the accent of the "é" by "e"?

I would suggest that it is not a good assumption that everybody's email 
address is [email protected]

I think you should be supplying two separate items of data to ansible for this 
process:

1. The person's name
2. The person's email address

For example, what would your current system try to do with:

a) Marcus du Sautoy
b) Ed O'Brien
c) Madonna
d) John Smith (Sales) and John Smith (Development)
e) Tony Leung Chiu-wai (whose surname is Leung)

Antony.

-- 
"It is easy to be blinded to the essential uselessness of them by the sense of 
achievement you get from getting them to work at all. In other words - and 
this is the rock solid principle on which the whole of the Corporation's 
Galaxy-wide success is founded - their fundamental design flaws are completely 
hidden by their superficial design flaws."

 - Douglas Noel Adams

                                                   Please reply to the list;
                                                         please *don't* CC me.

Reply via email to