adding escape characters in replace module

Hi All,

I have file below, would like to comment out the line with hmac-sha1 and uncomment like with #Commened for LINUXMSB 2013’

$ cat sshd_config
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
#Added below for LINUXMSB 2013
MACs hmac-sha2-512,hmac-sha2-256,hmac-sha1

Interestingly if dont use loop(with_items), it works fine. When i use with with_item, it adds another escape character, Am i missing something?

Here is the code:

$ cat sshd.yml