How to delete multiple lines after a match?

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:’

I end up with replace module with pattern ‘aaaa:’ in it.