Fix handling of ansible version numbers