Commit Graph

3396 Commits (1e7526ee78cdce57ffa589b44f2a7a13d6b135ec)
 

Author SHA1 Message Date
Stephen Fromm 1e7526ee78 Merge pull request #1714 from sfromm/issue1712
Make use of mirrors in pip module configurable with use_mirrors option
12 years ago
Stephen Fromm e33e02950d Make use of mirrors in pip module configurable with use_mirrors option
Older versions of pip (anything less than 1.0?) do not support
--use-mirrors flag.  This makes it configurable.  Default is yes.
12 years ago
Daniel Hokka Zakrisson e54b4b1c9a Ignore arguments when checking for interpreter, and re-add before use 12 years ago
Daniel Hokka Zakrisson d5a456fbcf Merge pull request #1697 from bcoca/mint
Implements multiple interpreter overrides
12 years ago
Daniel Hokka Zakrisson ffac7ce2f9 Merge pull request #1687 from dhozac/allow-grouping-in-external-inventory
Allow inventory scripts to define groups of groups and group vars
12 years ago
Stephen Fromm 89efd35c5a Merge pull request #1710 from sfromm/issue1705
Fix pip module to check if requirements already installed
12 years ago
Stephen Fromm d277953a53 Fix pip module to check if requirements already installed
This updates _is_package_installed() to accept a requirements file
as an argument.  This is used later in main() to check if python libs
specified in a requirements file are already installed.  I updated
main() to consolidate the handling of install/uninstall in a single
block.  This should help if someone wants to remove packages specified
by a requirements file.
12 years ago
Michael DeHaan fdf37b8c6c Merge pull request #1709 from dagwieers/rpm-version-fix
Updated ansible version to align with RPM package
12 years ago
Dag Wieers c65c00cb34 Updated ansible version to align with RPM package 12 years ago
Michael DeHaan 7a6267ec36 Update changelog 12 years ago
Michael DeHaan 5890a2a9da Release stuff 12 years ago
Michael DeHaan 9afb7c1ed0 Get ready to release 0.9 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
Daniel Hokka Zakrisson 8d309e0fa3 Allow inventory scripts to define groups of groups and group vars 12 years ago
Daniel Hokka Zakrisson b8d6dec5ad Reset notified_by list per serialized batch
Fixes the case where a handler attempts to run for every batch after any
batch has notified it, regardless of whether the current batch did.
12 years ago
Daniel Hokka Zakrisson a56e1f31fa Properly restrict hosts after 9070875 12 years ago
Daniel Hokka Zakrisson f6245e17c1 Skip evaluating only_if for BYPASS_HOST_LOOP plugins 12 years ago
Daniel Hokka Zakrisson bda08c8a1b Avoid creating temporary directory for some action plugins
This ensures we don't litter remote systems with temporary directories
that don't get cleaned up, as well as speeds things up from not having
to touch every node.
12 years ago
Daniel Hokka Zakrisson f6e7381a71 Evaluate only_if in group_by 12 years ago
Michael DeHaan 93fe43f0c4 Merge pull request #1701 from dhozac/serial-skip-failed
Skip already failed hosts for serial
12 years ago
Michael DeHaan 8690854662 Merge pull request #1703 from igalic/svn-doc-fix
Fix subversion module's documentation
12 years ago
Igor Galić 1ba5c5ae97 : doesn't work in this documentation. 12 years ago
Igor Galić e031054934 Fix subversion module's documentation
Let our users determine what they want to do with a given module.
Particularily when the mdoule doesn't pose any such restrictions.
12 years ago
Daniel Hokka Zakrisson 9070875a6f Move available hosts gathering to a common function 12 years ago
Daniel Hokka Zakrisson 5065103017 Skip already failed hosts
Fixes #1699.
12 years ago
Daniel Hokka Zakrisson c948c65bcd Template the name of the task
Broken by 1e0295c. Fixes #1698.
12 years ago
Brian Coca 2f2bd87b06 multiple _interpreter overrides with ansible_<bin>_interpreter variables, not
just for python anymore
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Brian Coca 8ef2807305 removed env as per project policy
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Daniel Hokka Zakrisson 24dadb3c27 Merge pull request #1693 from phgrau/phg/typo
dpkg -l does not install package, use dpkg -i <package-file> instead
12 years ago
Philipp Grau 1a3fcffbfb dpkg -l does not install package, use dpkg -i <package-file> instead 12 years ago
Daniel Hokka Zakrisson 900790af41 Reuse inventory object created by ansible-playbook in playbook
This reduces the amount of times an inventory script has to be invoked.
12 years ago
Daniel Hokka Zakrisson d703f92077 Disable authentication methods that weren't specified 12 years ago
Michael DeHaan 5a3301289f Merge pull request #1692 from jpmens/ini_file2
ini_file: prohibit section name 'default'
12 years ago
Michael DeHaan 304d06a563 Merge pull request #1689 from sfromm/issue1644
Set LANG in module_common.py
12 years ago
Jan-Piet Mens 910f1c042e ini_file: prohibit section name 'default'
allow update of default section
add blurb re template to create base file
12 years ago
Stephen Fromm 6a68d3813f Set LANG in module_common.py
Add constant DEFAULT_MODULE_LANG that defaults to C.  Can be set via
environment variable ANSIBLE_MODULE_LANG or configuration variable
module_lang.  Updated test-module to have same behavior.
12 years ago
Michael DeHaan dd5a8474f8 Have module formatter ignore more types of files. 12 years ago
Michael DeHaan 21d858f36d Document new types of plugins. 12 years ago
Michael DeHaan da90c5f75e Document 'when' and tweak the code to be a little more comprehensive on what is false. 12 years ago
Michael DeHaan 08b3c77dc7 Tweak docs 12 years ago
Michael DeHaan c8d004434f Limit seperator docs. 12 years ago
Michael DeHaan 9870224991 Tweak fireball docs for 0.9 12 years ago
Daniel Hokka Zakrisson 43bdec8b20 Throw an error if multiple actions have been specified 12 years ago
Daniel Hokka Zakrisson 1e0295c7e2 Template handlers late
This allows overriding variables in name, and removes templating from
parsing.
12 years ago
Daniel Hokka Zakrisson ebd31af940 Don't prompt for vars in extra-vars
Fixes #1622.
12 years ago
Daniel Hokka Zakrisson 94fc3006e9 Make variables local to the play
Fixes #1677.
12 years ago
Michael DeHaan fa63e9ce1f Merge pull request #1680 from eest/fix_fbsd_enable
Rework FreeBSD "enabled" code
12 years ago
Patrik Lundin d4af9e4c5c Use shlex for rc.conf parsing.
This makes the line parsing a lot more robust (and easier to read).
Code supplied by @dhozac, thanks!

Remove re import because this is not used anywhere.
12 years ago
Patrik Lundin fde00327b0 Rework "enabled" implementation for FreeBSD.
When trying to perform enabled=yes followed by enabled=no
against FreeBSD the module would die with the following error:
TypeError: sub() takes at most 4 arguments (5 given)

The target FreeBSD client (8.2) is running python 2.6.6. It seems the
extra 'flags' argument was added to re.sub() in 2.7.

In fixing this issue I have attempted to create a general atomic method
for modifying a rc.conf file. Hopefully this will make it easier to add
other rc based platorms. The strip/split magic was inspired by the user
module.
12 years ago
Daniel Hokka Zakrisson 0c70abfaa9 Make sure any existing groups gets reused 12 years ago