I've got about 10 remote servers being managed, through SSH, and I typically just SSH into each of them for remote management tasks. This requires me to have duplicated many of my dotfiles (like .zshrc, .vimrc) across each server so that I have a uniform experience across each one. Therefore, making a change to one of these files means distributing it out to all servers (worst case, manually, and in the best case using a provisioning tool like Ansible).
But if I were to mount the root filesystems of all those servers on my local workstation (like at /mnt/servers/server1/, /mnt/servers/server2/, etc) using something like NFS, SSHFS, Samba, or something else, then would that eliminate the need to share and copy dotfiles across each of these servers?
Because I'm using my local shell and Vim so only my local .zshrc and .vimrc get used. If I need to edit /etc/hosts on server3 I do it from my local workstation 'vi /mnt/servers/server3/etc/hosts' to edit the hosts file.
Will this eliminate the need for synchronizing my dotfiles across all the servers I'm managing?