On Mon, Jan 25, 2021 at 1:58 PM Aris Aguirre <[email protected]> wrote:
>
> I can easily use a file module to delete the existing file and create a new 
> one with File1 content.
> But I want to modifile the file using lineinfile or replace. Please help.
> Thanks
>
> Existing File:
> This is an existing file / $ % with invalid characters &*() Blahh
>
> Expected Output:
> File1
>
      If you can define it in regexp you can do it.

> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/863d3e1d-9091-4654-83ee-6da380cb3fe7n%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAHEKYV58-hCWQeRJDdwdTbu0seT1ryrJ0bT8xTbnC8mr1YARYA%40mail.gmail.com.

Reply via email to