I'm using a specific centos7 image from AWS EC2 which, for some reason, does not have vim installed.
I already run ansible scripts on newly spun up servers, so I planned to add VIM via ansible. I want to set it up with the usual behavior of vi mapping to vim for all users except root.
Doing a yum install with ansible is easy. However, I'm not sure where I should put the "alias vi=vim" line. If I put it into /etc/bash.rc that would presumably also apply to root, which I don't want. What file(s) do I need to modify to get the 'standard' vim mapping behavior I'm use to?