copy: $(configpath)/generic/hosts dest=/etc/hosts owner=root group=root mode=644 type=checksum backup=false server=$(masterhost) editfiles: { /etc/hosts LocateLineMatching "127\.0\.0\.1.+" AppendIfNoSuchLine "$(ipaddress) $(fqhost) $(host)" }