how to modify nginx.conf file

hi team

please help on this

when i’m try to modify the nginx.conf file i got this below error. please suggest me how to modify that file.

E45: ‘readonly’ option is set (add ! to override)

Hi Mahesh,

If you post the whole playbook we can probably help better. But for starters I would say somewhere in your playbook you change the permissions of the nginx.conf file eg:
mode: ‘0644’

And make sure the remote user executing the play has permissions to write that file.