Commit Graph

2009 Commits (b1d88235f0875ab239abe711ce77c68ffe0b7b6e)
 

Author SHA1 Message Date
Michael DeHaan 535e3f138f Merge pull request #845 from zecrazytux/bugfix/pip2
Bugfix/pip2
12 years ago
Sébastien Bocahu 487d07a845 Fix variable scope 12 years ago
Sebastien Bocahu a3ff6b1958 Fix unneeded bashism
Signed-off-by: Sebastien Bocahu <sebastien@ispfr.net>
12 years ago
Stephen Fromm 94696fb88e Update file module to not recurse when setting ownership
This updates set_owner_if_different() and set_group_if_different()
to not implicitly recurse when setting ownership (whether user or
group).  It drops the os.system() call and replaces it with os.chown().
Resolves issue #825.

The recursion should be explicit.  A recurse=yes|no option should be
added to the file module.
12 years ago
Stephen Fromm 569d377183 Wrap paramiko open_session() call in try/except
Ran across non-unix host where the call to paramiko's open_session() in
exec_command() would throw a EOFError exception.  This change wraps the
block in a try/except.
12 years ago
Stephen Fromm f9bdfde614 Fixes for runner and raw module
runner should not try to create or remove tmp paths when using the raw
module.
12 years ago
Dave Peticolas 08272dc25d Remove unused imports. 12 years ago
Michael DeHaan 9e934acfca Relative symlinks don't really work (module bug) and would be confusing anyway, better to be explicit. 12 years ago
Michael DeHaan ce015fcaf8 add output of password step for easy testing 12 years ago
Michael DeHaan 05d6e74cce Merge branch 'vars_prompt_encrypt' of https://github.com/cocoy/ansible into devel 12 years ago
Michael DeHaan ef18f9d953 Fix a scoping issue that was fixing some non-repoquery-installed cases 12 years ago
Michael DeHaan 63641da225 Merge branch 'yum-wo-repoquery' of https://github.com/dhozac/ansible into devel
Conflicts:
	library/yum
12 years ago
Michael DeHaan 07f459f3b2 Allow user to be passed in via --extra-vars 12 years ago
Michael DeHaan 98a5565106 Fixing up parameterized task includes such that variables can be easily handed to them. 12 years ago
Michael DeHaan 8e12440db4 Merge pull request #830 from cybertoast/feature/pip_module_py2.4
Feature/pip module py2.4
12 years ago
Michael DeHaan f311d685cb Merge pull request #828 from skvidal/devel
add backup= option to copy. makes a backup of the file on the target
12 years ago
Michael DeHaan 86cbfc0448 Merge pull request #831 from cybertoast/feature/sudo_cmd_not_defined
Feature/sudo cmd not defined
12 years ago
Michael DeHaan bec78d5b60 Merge pull request #823 from tbielawa/IncludeLicense
We need to include the license when we ship RPMs
12 years ago
Michael DeHaan 200dd4d92b Merge pull request #819 from tbielawa/addPullToSdist
Include bin/ansible-pull as part of the sdist in distutils.
12 years ago
Sundar Raman 66a6231922 Further syntax fix work on Python2.4
The `val if something else something-else` syntax does not work prior to 2.5.
12 years ago
Sundar Raman 2f754f0284 (Re #829) Fix for sudo_cmd not defined 12 years ago
Sundar Raman 9ad91d7369 Fix syntax to work on Python2.4
The `val if something else something-else` syntax does not work prior to 2.5
12 years ago
Seth Vidal 588b129018 fix case where destination does not yet exist - no backup can be made 12 years ago
Seth Vidal 28e9b1128f add backup= option to copy. makes a backup of the file on the target
in a file named: $filename.YYYY-MM-DD@HH:MM~

backup=False is default
12 years ago
Michael DeHaan eab71aae69 Merge pull request #826 from skvidal/devel
make yum module work with list=pkgspec
12 years ago
Seth Vidal 5c458b9761 make yum module work with list=pkgspec 12 years ago
Daniel Hokka Zakrisson 5a7d271759 Allow using the yum module without repoquery
It is still required to use list=..., but the typical install and remove
won't need it.
12 years ago
Tim Bielawa 65ec3ff63f We need to include the license when we ship RPMs 12 years ago
Rodney Quillo d1f821361d vars_prompt encrypt from mgw 12 years ago
Tim Bielawa 04ff248c62 Include bin/ansible-pull as part of the sdist in distutils. 12 years ago
Michael DeHaan a7cd16a016 Merge pull request #818 from tbielawa/smallfixes
Update man pages and the message for an exception.
12 years ago
Tim Bielawa bf7e83bea6 Update man pages and the message for an exception. 12 years ago
Michael DeHaan 093bbd1c82 Slight version format tweaks 12 years ago
Michael DeHaan e654f881a8 Merge pull request #812 from willthames/gitversion
Added commit time information to the --version output
12 years ago
willthames 208f2b66ed Added commit time information to the --version output
Now prints date of commit (and timezone offset of commit)
Hopefully resolves #783
12 years ago
Michael DeHaan 7592a7356f bump changelog 12 years ago
Michael DeHaan 40ff3eb106 Catch socket errors so if you control-c a playbook it does not traceback 12 years ago
Michael DeHaan 33bc2610fa changelog update 12 years ago
Michael DeHaan 85ba71a7fe Split -vv from -vvv 12 years ago
Michael DeHaan cac4effd8f Add module arguments remote modules to -vvv output 12 years ago
Michael DeHaan 846186e2fc Add -vvv support for debugging activity 12 years ago
Michael DeHaan c82f06258c Only run yum,apt through the with_items loop if there is a list of items. Just a cosmetic fix on return values
for the most part.
12 years ago
Michael DeHaan 2f6d6ccb5a Nicer errors from modules if arguments are not fed key=value 12 years ago
Michael DeHaan 183fce6d99 Detect SFTP disablement in paramiko + changelog updates 12 years ago
Michael DeHaan 51083e48e9 remove duplicate code path as few will have git python installed 12 years ago
Michael DeHaan fde329fb9e Merge branch 'gitversion' of https://github.com/willthames/ansible into devel 12 years ago
Will Thames 9a50ed9b7b Added git information to version string
Running ansible --version now outputs git information when the
repo lives in .git in the root of the ansible source (coping with the case
where the git info is elsewhere is left as an exercise).

This uses gitpython where installed, otherwise it interrogates the files
in the .git directory to get the same information.

The gitpython path could be removed, but then people might ask 'why did
you do it like this when gitpython exists'
12 years ago
Michael DeHaan 176bf3cbb5 Save extra chmod step if sudoing to root 12 years ago
Michael DeHaan 0f052f2fd0 Merge branch 'fix_chmod_for_sudo_user' of https://github.com/willthames/ansible into devel 12 years ago
Michael DeHaan d451cc6463 Merge pull request #794 from mattupstate/apt_repository
add apt_repository module
12 years ago