Your version of Ansible is rather downlevel.

If you have a problem in 1.6.6 (the latest) let us know.




On Mon, Jul 14, 2014 at 12:21 PM, Ming Qian <[email protected]> wrote:

> Hello Everyone,
>
> Has this problem been fixed?
> I actually had the exact same issue today.
> I am using ansible 1.5.4
>
> Thanks!
>
>
>
> On Monday, August 19, 2013 9:51:36 PM UTC-4, Kavin Kankeshwar wrote:
>>
>> Hi,
>>
>> Wanted to know if it is possible for lineinfile to only replace line if
>> regex matches, if it does not match do not add new line.
>>
>> Is this possible ? From looks of it , does not seem to work.
>>
>> Regards,
>> --
>> Kavin.Kankeshwar
>>
>>
> On Monday, August 19, 2013 9:51:36 PM UTC-4, Kavin Kankeshwar wrote:
>>
>> Hi,
>>
>> Wanted to know if it is possible for lineinfile to only replace line if
>> regex matches, if it does not match do not add new line.
>>
>> Is this possible ? From looks of it , does not seem to work.
>>
>> Regards,
>> --
>> Kavin.Kankeshwar
>>
>>
> On Monday, August 19, 2013 9:51:36 PM UTC-4, Kavin Kankeshwar wrote:
>>
>> Hi,
>>
>> Wanted to know if it is possible for lineinfile to only replace line if
>> regex matches, if it does not match do not add new line.
>>
>> Is this possible ? From looks of it , does not seem to work.
>>
>> Regards,
>> --
>> Kavin.Kankeshwar
>>
>>   --
> 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/e227a999-7ad9-4fe7-b4a6-1cedddb4fa9c%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/e227a999-7ad9-4fe7-b4a6-1cedddb4fa9c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnsWgxNRjj161Ymi%2BYKP4svWw4jWt3sPjs2mfK2oNpKugecNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to