--- - name: DNS become: true ansible.builtin.blockinfile: state: present insertafter: EOF path: /etc/hosts mode: '0644' create: true block: | 10.0.0.4 pi-vpn 10.0.0.2 desktop-vpn 192.168.5.99 desktop-local 38.242.153.122 vps