I am trying to replace a second occurrence string or word in particular file using replace module but its replace all the strings/words matched in file.
Ansible playbook:
I am trying to replace a second occurrence string or word in particular file using replace module but its replace all the strings/words matched in file.
Ansible playbook: