YAML is a particularly easy format for configuration files but it is also particularly picky about spacing. These small additions to your vimrc file will make it a bit easier to manage spacing.
Lets explain the first two lines:
The first line creates a new highlighting group for any tab characters. Update your color scheme to highlight the yamlTab group however you like (guifg=White guibg=Red is pretty effective). The second line calls the CheckTabs. All this function does is check for tabs in the file, if they exist it will ask the user if they want to convert them to spaces (defaults to yes).
Note: This function can be executed before save by using :call CheckTabs()