ansible / ansible-modules-core

Ansible modules - these modules ship with ansible
1.3k stars 1.95k forks source link

azure_rm.py inventory script is not installed with ansible/module #4340

Closed snemir2 closed 8 years ago

snemir2 commented 8 years ago
ISSUE TYPE

azure

ANSIBLE VERSION
[root@sn-lnx-vm ~]# ansible --version
ansible 2.1.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
CONFIGURATION
OS / ENVIRONMENT

[root@sn-lnx-vm ~]# updatedb [root@sn-lnx-vm ~]# locate azure_rm.py

You are using pip version 7.1.0, however version 8.1.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. azure (2.0.0rc5) azure-batch (0.30.0rc5) azure-common (1.1.4) azure-graphrbac (0.30.0rc5) azure-mgmt (0.30.0rc5) azure-mgmt-authorization (0.30.0rc5) azure-mgmt-batch (0.30.0rc5) azure-mgmt-cdn (0.30.0rc5) azure-mgmt-cognitiveservices (0.30.0rc5) azure-mgmt-commerce (0.30.0rc5) azure-mgmt-common (0.20.0) azure-mgmt-compute (0.30.0rc5) azure-mgmt-keyvault (0.30.0rc5) azure-mgmt-logic (0.30.0rc5) azure-mgmt-network (0.30.0rc5) azure-mgmt-notificationhubs (0.30.0rc5) azure-mgmt-nspkg (1.0.0) azure-mgmt-powerbiembedded (0.30.0rc5) azure-mgmt-redis (0.30.0rc5) azure-mgmt-resource (0.30.0rc5) azure-mgmt-scheduler (0.30.0rc5) azure-mgmt-storage (0.30.0rc5) azure-mgmt-web (0.30.0rc5) azure-nspkg (1.0.0) azure-servicebus (0.20.2) azure-servicemanagement-legacy (0.20.3) azure-storage (0.32.0) msrestazure (0.4.1)

SUMMARY

the module rereferenced in documentation (https://docs.ansible.com/ansible/guide_azure.html) does not get installed. might be documentation issue (or bug) The dynamic inventory script is not found on the system

STEPS TO REPRODUCE
EXPECTED RESULTS

gather inventory /facts similarly to the way ec2.py does. ..

ACTUAL RESULTS
--- nothing to run.   advertised functionality does not seem to be present. 
ansibot commented 8 years ago

@nitzmahone ping, this issue is waiting for your response. click here for bot help

bcoca commented 8 years ago

Possible Misunderstanding

Hi!

Thanks very much for your submission to Ansible. It sincerely means a lot to us.

We believe the ticket you have filed is being somewhat misunderstood, as one thing works a little differently than stated.

Ansible does not normally 'auto install' dependencies for modules, this is up to the user and reflected in module documentation.

In the future, this might be a topic more well suited for the user list, which you can also post here if you'd like some more help with the above.

Thank you once again for this and your interest in Ansible!

snemir2 commented 8 years ago

all of the modules/dependencies for modules has been installed, as per the documentation. (i.e. azure module) -- yet still have this problem.

snemir2 commented 8 years ago

i really feel this should be re-opened. All of the requirenements (azure pydhon sdk) have been installed, yet functionality claimed in the https://docs.ansible.com/ansible/guide_azure.html#dynamic-inventory-script section is not present. It most likely is a bug.

bcoca commented 8 years ago

So azure_rm.py is not a library or module but an inventory script, those depend on the packaging used.

If using pip, for example does not install them and they need to be downloaded from github. https://github.com/ansible/ansible/tree/devel/contrib/inventory.

An rpm/deb install should locate them in /usr/share/ansible/contrib/, but that can vary depending on packager preferences.

bcoca commented 8 years ago

List Information

Hi!

Thanks very much for your interest in Ansible. It sincerely means a lot to us.

This appears to be a user question, and we'd like to direct these kinds of things to either the mailing list or the IRC channel.

If you can stop by there, we'd appreciate it. This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like.

Thank you once again and we look forward to seeing you on the list or IRC. Thanks!