refactoring role for postgresql install

eliminated duplication =)