Azure-Samples / ansible-playbooks

Ansible Playbook Samples for Azure
MIT License
224 stars 349 forks source link

[WIP] fixing tests #28

Closed zikalino closed 6 years ago

zikalino commented 6 years ago

Purpose

Does this introduce a breaking change?

Pull Request Type

What kind of change does this Pull Request introduce?

How to Test

$ pip install ansible[azure]
$ ansible-galaxy install Azure.azure_preview_modules
$ pip install -r ~/.ansible/roles/Azure.azure_preview_modules/files/requirements-azure.txt
git clone https://github.com/Azure-Samples/ansible-playbooks.git
cd ansible-playbooks
git checkout [branch-name]

What to Check

Verify that the playbook is successfully run.

Other Information

zikalino commented 6 years ago

@yungezz i have started fixing tests here. right now i am using resource group created by test framework by SQLCreate test, and it works correctly. I think i will update all the other tests in this PR as well.

Here are some observations:

zikalino commented 6 years ago

merging anyway....

yaweiw commented 6 years ago

@zikalino this PR needs to reopen to fix all the issues. Moreover, do not merge PRs that still have comments to reconcile. @yungezz @yuwzho