Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed test-template.yml to run in Ansible 2.3 #76

Merged
merged 1 commit into from
Mar 24, 2017

Conversation

bdowling
Copy link
Contributor

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT

test-template.yml

SUMMARY

Changed the variable setup so it only prompts for template name and
creates the platform from that argument. Fixed TEST_DIR to default
to below the current working directory. Assumes playbook run from
ntc-templates folder.

Closes #73


Changed the variable setup so it only prompts for template name and
creates the platform from that argument.  Fixed TEST_DIR to default
to below the current working directory.  Assumes playbook run from
ntc-templates folder.

Closes networktocode#73
@bdowling
Copy link
Contributor Author

bdowling commented Jan 12, 2017

Well, tests pass in Ansible 1.9.2 as well. Didn't realize the CI was using this older version -- perhaps that was my problem in #73? What are the plans to update?

Edit: I realize that the playbook isn't used in Travis CI, so that's kind of a silly point. Looks like the API changes in 2.0 may be why this hasn't been updated in some time as the test-templates.py would need to be rewritten. It would likely need the changes to compare_dict I was testing in the other branch as well. Anyone working the API conversion?

@itdependsnetworks
Copy link
Contributor

There has been discussion and a pending PR to help with testing.

@jedelman8 jedelman8 merged commit cfa8b5a into networktocode:master Mar 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues with trying to use the test-template playbook
3 participants