refactor to make ansible script run better on unknown operating systems.
Merge pull request #8 from npm/unknown-os

refactor to make ansible script run better on unknown operating systems.