Commit Graph

112 Commits (b808b066071c7ed051c391eb04c944f27eb147d8)

Author SHA1 Message Date
Chris Church 8665f94ecb Make sure Windows modules are installed. 10 years ago
James Laska a0fecd6101 Fix packaging to work with new module location
Changes include:
 * Remove references to old module dir from .spec
 * Use setuptools find_packages find all ansible packages
10 years ago
Michael DeHaan e5116d2f9b changes for package loading of modules 10 years ago
Josh Drake aa419044c4 WIP on the re-implementation of fact caching and various backends. 10 years ago
James Cammarata 4bf826f514 Include *.ps1 files in the library for installation
Fixes #8490
10 years ago
James Laska 03efbfca29 Correct string concatenation error 10 years ago
Chris Church 3b4adb78cb Add shell_plugins to packages. 11 years ago
Michael DeHaan 56d03fc766 Merge pull request #6994 from tonk/docfix
Fix documentation error
11 years ago
James Cammarata 8e66a6c811 Cleaning up the import testing around setuptools 11 years ago
Ton Kersten 6735733ed1 Fix documentation error 11 years ago
Toshio Kuratomi e622074812 Prnt error message is unable to use setuptools when building 11 years ago
Toshio Kuratomi 17f134ca02 distutils' requires parameter doesn't work with setuptools. Use
setuptools' instal_requires instead
11 years ago
Toshio Kuratomi 0fefab6651 Require a recent enough version of pycrypto and see that playbook and vault ues it. 11 years ago
Ton Kersten ad687fcefd Added ansible-vault to the installer 11 years ago
James Cammarata b73a8efbd9 Tweak library installation path to default to /usr/share/ansible if specified 11 years ago
James Cammarata 79b5ed5331 Merge branch 'patch-1' of https://github.com/eggsby/ansible into eggsby-patch-1 11 years ago
Michael DeHaan d07a3b5e9b AnsibleWorks -> Ansible 11 years ago
Thomas Omans 4310fc260b bugfix: support path separators in module path
As described by http://docs.ansible.com/intro_configuration.html#library the library supports multiple paths to load modules from. 

Currently `setup.py` treats something like `/usr/share/ansible:/my/custom/modules` as a single directory name and results in the installed modules not being on the module path. (instead they are in a directory named `/usr/share/ansible:/my/custom/modules`) 

This commit simply takes the first listed directory as the install directory for the core modules.
11 years ago
Rene Moser dc40c406c6 setup.py: fix ansible-galaxy was not installed when using make install 11 years ago
James Tanner f3a4705a9c Revert "Merge pull request #4874 from leth/editable_install"
This reverts commit 15b89b45e1, reversing
changes made to 3d836a1ab7.
11 years ago
Marcus Cobden 8d98a55df1 Fix setup.py to work with 'pip install -e .' 11 years ago
Michael DeHaan ad5731b4a8 Add module utils path to setup.py 11 years ago
Ton Kersten 0c2af5d5ec Fix the install destination, now with os.path.join 11 years ago
Ton Kersten 0476272c79 Fix the install destination 11 years ago
Skylar Saveland 50bd14faa9 use DEFAULT_MODULE_PATH in setup.py so that there is a chance to override with ANSIBLE_LIBRARY env variable 11 years ago
Michael DeHaan 4a3b762afe Update URLs and email address in setup.py 11 years ago
Benjamin Schwarze 61e660442c fix package mentioned twice in setup.py 12 years ago
Ton Kersten 17586bafee commit 290ecfcdc2fa6dcbee8328130c85916fdebd5152
Author: Ton Kersten <github@tonkersten.com>
Date:   Mon Apr 29 10:44:30 2013 +0200

    Fixed the installation of library directories

    When running install the `setup.py` give error

    changing mode of /usr/bin/ansible-doc to 755
    running install_data
    error: can't copy './library/utilities': doesn't exist or not a regular file
    make: *** [install] Error 1

    Debugging 'benno' came up with this patch, which works on CentOS 6.4 and
    on Ubuntu.
12 years ago
Jan-Piet Mens 17f31a2a79 CLI: ansible-doc shows lists of modules & module docs on command-line
check path is directory
added manpage & setup
small cleanup
shut up module_formatter in utils to avoid trace print on crud files in library
12 years ago
Jeroen Hoekx 67321a6012 Add ansible.runner.filter_plugins package to setup.py 12 years ago
Daniel Hokka Zakrisson 000d3832cc Make ansible.utils a package 12 years ago
Michael DeHaan 7d7ff9d616 Fixup setup.py path 12 years ago
Michael DeHaan 6ba30170dd Make group_vars and host_vars available to usr/bin/ansible, and make vars_plugins exist 12 years ago
Michael DeHaan dd3beb844f add lookup plugins to setup.py 12 years ago
Tim Bielawa baa91ebc95 Add DIST_MODULE_PATH so setup.py and ansible.spec can live in harmony. Closes #1277 12 years ago
Michael DeHaan 95540f40b0 Add package to setup.py 12 years ago
Daniel Hokka Zakrisson 5b49a059ac Install action_plugins 12 years ago
Michael DeHaan f264f50f17 Update setup.py 12 years ago
Michael DeHaan d70be9adfe Ship the noop.py callback 12 years ago
Dave Hatton 732cfe6d4f setup.py needs adjusting to ansible.runner.connections so that make rpm works 12 years ago
Michael DeHaan eee2d1afd0 If ANSIBLE_KEEP_REMOTE_FILES=1 is set as an environment file, remote files will not be deleted, which is useful only for development debugging purposes. 12 years ago
Tim Bielawa 04ff248c62 Include bin/ansible-pull as part of the sdist in distutils. 12 years ago
Michael DeHaan 1c9b43df1b more whitespace 12 years ago
Michael DeHaan 6034b5b0f3 Split connection code into submodules. 13 years ago
Joshua Tacoma 0f7ab7cbf5 Listed python sub-packages in setup.py. 13 years ago
Stefane Fermigier f7469f8704 Add requirements in setup.py. 13 years ago
Michael DeHaan 9049b0e7ca Because folks on RHEL 6 (not CentOS 6) have some issues with asciidoc, do not build the asciidoc from
the rpm or make install targets.  Also modify the make install (only) to copy over files into the library
directory since the setup.py does not do this (due to a distutils bug, more or less).
13 years ago
Seth Vidal 3567237dbc modify build/spec file to work on el6 with quasi-broken setup process
remove data_files section from setup.py for some reason or another
13 years ago
Tim Bielawa 3f245498c4 Fixup RPM building: Makefile, Spec File, .gitignore
Fixup distutils: setup.py

Clean old cruft: section 5 man pages
13 years ago
Michael DeHaan 209760f8f6 Add manpage for ansible-playbook, since it is a command. More detailed docs will remain on the web site. 13 years ago
Michael DeHaan 742258a078 Drop other man(5) pages so we can have only one source of docs -- ansible.github.com for those operations.
Easier to maintain and much more verbose.
13 years ago
Seth Vidal 47aa018a84 add MANIFEST.in, ansible.spec, modify setup.py for rpm pkg creation 13 years ago
Michael DeHaan e4304a0ac5 Make sure tempdirs are cleaned up after execution steps, fix notifiers, make sure
service module is installed by setup.py
13 years ago
Michael DeHaan 281f96b8dd merge Seth's ansible-command script with ansible proper, so we can do nice output, one line output,
and treeish saving everywhere.

there are probably some quirks here we'll want to refine further later, for instance, we should
be able to do nicer things with "can't contact host tracebacks".
13 years ago
Michael DeHaan 0356925639 Rename ans-command to ansible-command and ans-playbook to ansible-playbook so my brain
can tab complete better
13 years ago
Michael DeHaan c6eb3f1006 remove debug statement 13 years ago
Michael DeHaan 0321afb1e3 Minor error handling tweaks (yell if no args) for ansible-command and some minor
style bits (underscores between compound words, use dest always in optparse)
13 years ago
Tim Bielawa 6027c16ddd Update distutils setup script to install the new manual page 13 years ago
Tim Bielawa d44e0bbb61 Update the python setup script to install the ansible modules man page. 13 years ago
Tim Bielawa f0b0211772 Because everything should have a man page 13 years ago
Michael DeHaan 3da6370a65 use defaults better, improve/fix setup.py 13 years ago
Michael DeHaan 2c873a4467 Adding setup.py 13 years ago