aweiteka / UATFramework

A lightweight User Acceptance Testing framework
GNU General Public License v2.0
3 stars 12 forks source link

Pin 'ansible' to pre-2.0 version #86

Closed miabbott closed 8 years ago

miabbott commented 8 years ago

With the release of Ansible 2.0, the API was entirely re-written. What was once a simple import of a single Ansible module has become a bit more complex. See the following:

http://docs.ansible.com/ansible/developing_api.html#python-api-2-0

In the short term, it is easiest to select a version earlier than 2.0 to keep things humming. Longer term, we should probably look at adapting the framework to the new API.

Signed-off-by: Micah Abbott miabbott@redhat.com

aweiteka commented 8 years ago

LGTM

jlebon commented 8 years ago

Good foresight. LGTM!

jlebon commented 8 years ago

Actually, does pip not support '<' ? E.g. ansible<2.0

cgwalters commented 8 years ago

Excellent commit message.

miabbott commented 8 years ago

@jlebon Yeah, we could use that format. It still installs version 1.9.4 as of today. Not sure if the Ansible folks would be making additional updates to the 1.9 branch, but we can be prepared if they do.

I'll update the PR with that change.

jlebon commented 8 years ago

LGTM!