inventory_hostname

trying to replace a word in file. I have a testfile1.conf: