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 -- 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.
