thanks for the tip, it is the same location that I have assigned to library
python -c 'import ansible.modules as m; print m.__file__' /usr/local/lib/python2.7/dist-packages/ansible-2.0.0-py2.7.egg/ansible/modules/__init__.pyc On Monday, September 28, 2015 at 2:29:14 PM UTC-7, Matt Martz wrote: > > The following command should give you the path to the modules: > > python -c 'import ansible.modules as m; print m.__file__' > > > On Mon, Sep 28, 2015 at 4:15 PM, <[email protected] <javascript:>> wrote: > >> *okay I have looked through ansible.cfg and changed this line* >> library = >> /usr/local/lib/python2.7/dist-packages/ansible-2.0.0-py2.7.egg/ansible/modules >> >> *sudo ansible --version* >> ansible 2.0.0 >> config file = /etc/ansible/ansible.cfg >> configured module search path = >> /usr/local/lib/python2.7/dist-packages/ansible-2.0.0-py2.7.egg/ansible/modules >> >> *still the same problem* >> ERROR! 'proxmox' is not a valid attribute for a Play >> >> The error appears to have been in '/home/ops/proxmox.yml': line 3, column >> 3, but may >> be elsewhere in the file depending on the exact syntax problem. >> >> *git submodule status* >> a4ac171a070551f1ed17a9c09b41d2481ad779af lib/ansible/modules/core >> (remotes/origin/revert-1564-win_features_improvements_v2-26-ga4ac171) >> 3c8c7168014234be339a42481d74f3954d47a4fc lib/ansible/modules/extras >> (heads/devel) >> >> *Is there a better source for installing the development environment ?* >> >> >> On Monday, September 28, 2015 at 1:21:00 PM UTC-7, Brian Coca wrote: >>> >>> I would have said you are missing a 'git submodule init --recursive' >>> step .. but then you would not have any modules, if you are running >>> python2.7 it should find these in the python path, otherwise just try >>> setting in ansible.cfg the path directly for core and extras to the >>> subdirs of >>> /usr/local/lib/python2.7/dist-packages/ansible-2.0.0-py2.7.egg/ansible/modules >>> >>> >>> >>> >>> -- >>> Brian Coca >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/2630484e-4ccf-49f8-ac53-f714d8b2a7ab%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/2630484e-4ccf-49f8-ac53-f714d8b2a7ab%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Matt Martz > @sivel > sivel.net > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3310e73f-a8ae-43d4-a98d-f3e228e23ac6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
