This is the service name. They happen to match.

On Monday, March 19, 2018 at 4:24:13 PM UTC, Mike Klebolt wrote:
>
> Have you tried using the service name rather than the Display Name?
>
> On Monday, March 19, 2018 at 9:43:20 AM UTC-5, [email protected] wrote:
>>
>> Hi All
>>
>> I am trying to use thw win_service module to start a service.
>>
>> My issue is the service name contains non-valid characters and I dont 
>> seem to be able escape the name correctly.
>>
>> The service name is this:- "SAS [config-Lev1] SASMeta - Metadata Server".
>>
>> Any regexp or normal escaping of characters fails.
>>
>> task code is:
>>
>> - name: Start Metadata Server
>>
>>   win_service:
>>
>>       name: "SAS [config-Lev1] SASMeta - Metadata Server"
>>       state: started
>>
>> Any ideas or is it a bug?
>>
>> Bob
>>
>

-- 
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/21e4bd47-99e1-4d25-a085-13c388f0549b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to