Updating the hosts file


01-Jul-2020 03:26

That information, along with your comments, will be governed by DISQUS’ privacy policy.By commenting, you are accepting the DISQUS terms of service.I’m going to use Ansible (running on my Raspberry Pi 3) to update the hosts file on each of the other Raspberry Pis.My current set up looks like this: Using Ansible to change the host file on multiple Pis " data-medium-file="https://geektechstuff.files.wordpress.com/2019/08/geektechstuff_ansible_hosts_file_update.png?

Double-click the hosts file and choose to open using Notepad when you're asked.

But if you want to add another layer of security then the second option is to lock the hosts file so no other program or user except you can rewrite to it without unlocking it.