I am looking to replace or delete redundant lines in a file at different line numbers.
For example, a file has the following content <value1> <text1> <value2> <text2> <value3> <text1> In this case, I want to remove <value1> <text1> and replace <value3> <text1> with <valuex> <text1>. Is there a possibility to do this in Ansible? -- 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/76f8b842-eed8-4785-bd12-227655ecb300%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
