Azure-Samples / ansible-playbooks

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

playbook KeyVualtCreate.yml failed to run #9

Closed yungezz closed 5 years ago

yungezz commented 6 years ago

Please provide us with the following information:

keyvaultCreate.yml failed with error:

 [WARNING]: Unable to parse /etc/ansible/hosts as an inventory source
 [WARNING]: No inventory was parsed, only implicit localhost is available
 [WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match 'all'
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [Azure.azure_preview_modules : debug] *************************************
skipping: [localhost]
TASK [Create a resource group] *************************************************
changed: [localhost]
TASK [Create instance of Key Vault] ********************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "state is present but all of the following are missing: vault_tenant"}
    to retry, use: --limit @/home/travis/build/Azure-Samples/ansible-playbooks/KeyVaultCreate.retry
PLAY RECAP *********************************************************************
localhost                  : ok=2    changed=1    unreachable=0    failed=1   
/home/travis/.travis/job_stages: line 169:  4859 Terminated              travis_jigger $! $timeout $cmd
test ./KeyVaultCreate.yml failed

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

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

Minimal steps to reproduce

run the playbook

Any log messages given by the failure

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.

yungezz commented 6 years ago

PR #26