Hello Expert,
Is there a way in ansible to delete multiple lines after a pattern matched?
For example, I have a file with following contents, and need to delete
lines 'bbbbbb', 'cccccc'. However I really do not know what are those two
lines as they are generated dynamically. I only know line 'aaaa:'
-----------------------
start contents
aaaa:
bbbbbb
cccccc
other contents
--
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/f958ecb7-2a42-4e38-8388-fbb08d3774d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.