misc fixes to ansible scripts