Replace sed with lineinfile module