Azure-Samples / ansible-playbooks

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

SQLCreate.yml failed because of resource already exists #25

Closed yungezz closed 6 years ago

yungezz commented 6 years ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting

Minimal steps to reproduce

Any log messages given by the failure

TASK [Create SQL Server] *******************************************************
[WARNING]: Azure API profile latest does not define an entry for
SqlManagementClient
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error creating the SQL Server instance: Azure Error: NameAlreadyExists\nMessage: The name 'sqlansible001' already exists. Choose a different name."}
to retry, use: --limit @/home/travis/build/Azure-Samples/ansible-playbooks/SQLCreate.retry

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.