Use replace instead of lineinfile, addresses GitHub issue #1. Signed-off-by: Alan Orth <alan.orth@gmail.com>