Ansible String Replace Function In C