Commit Graph

1530 Commits (5c458b97615df20a28c41153cdcb2e32b06d7dc6)
 

Author SHA1 Message Date
Seth Vidal 5c458b9761 make yum module work with list=pkgspec 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
Michael DeHaan b378a94b7b Merge pull request #796 from mattupstate/pip
add pip module
12 years ago
Michael DeHaan 82dfb11fb9 Merge pull request #807 from mattupstate/supervisorctl
Add supervisorctl module
12 years ago
Michael DeHaan 67205eb816 Merge pull request #795 from mattupstate/easy_install
Add easy_install module
12 years ago
Michael DeHaan 311d7c46ca Merge pull request #806 from skvidal/devel
fix up yum state=latest with pkg groups
12 years ago
Michael DeHaan fe65648ea5 Merge pull request #808 from sfromm/issue800
Make exception more specific (OSError) in setup module for selinux call
12 years ago
Seth Vidal 61e02d508c add show-duplicates to reqpoquery to keep people who
want to install an old package happy.
12 years ago
Stephen Fromm 0cc73c930b Make exception more specific (OSError) in setup module for selinux call 12 years ago
Matt Wright 34e0faaf4b Add supervisorctl module 12 years ago
Matt Wright 15e9f1e15a Update per ansible/ansible#794 12 years ago
Seth Vidal ca63173bf0 missed the quotes 12 years ago
Matt Wright 2a68f5d0af Updates per ansible/ansible#795 12 years ago
Seth Vidal 70eea69e79 fix up yum state=latest with pkg groups 12 years ago
Matt Wright 0116e53e48 Updates per ansible/ansible#796 12 years ago
Michael DeHaan f757d659cc Merge pull request #804 from sfromm/issue789
Abstract how to look up user password to be more flexible
12 years ago
Michael DeHaan ae7e1928df Merge pull request #790 from sfromm/fixgit
Fix error handling when switching versions
12 years ago
Michael DeHaan 7dd7755f4c Merge pull request #802 from sfromm/issue800
Protect all selinux calls with try/except
12 years ago
Stephen Fromm 49f3ab6757 Abstract how to look up user password to be more flexible
This adds user_password() to abstract how the user's password is looked
up.  If spwd is not available, this will read the shadow file for the
user's shadow entry.  This will then facilitate idempotent password
changes on hosts without spwd.
12 years ago
Will Thames 414eceb138 chmod needs more specific arguments to work with sudo_user
Basically if umask is set to something like 0007 then chmod +r and chmod +x
are not the same as chmod a+r and chmod a+x

Using os.path.basename rather than source.split should make ansible more
portable (and even if never ported, more readable)
12 years ago
Stephen Fromm 3fb3eae7b6 Protect all selinux calls with try/except 12 years ago
Michael DeHaan fc330cafce Merge pull request #799 from tbielawa/yamlvalidation
Add 'polite' YAML syntax validation and hinting
12 years ago
Tim Bielawa 3937707117 Add 'polite' YAML syntax validation and hinting. Closes #798 12 years ago
Matt Wright 62297b608f Add easy_install module 12 years ago
Matt Wright bef4c1b955 add apt_repository module 12 years ago
Matt Wright 4de0e5de54 add pip module 12 years ago
Stephen Fromm 6265be3aee Fix error handling when switching versions
git module used to check stderr for the string 'error' after calling
switch_version().  This changes that to just look at the return code to
determine whether the command failed.  If the rc is not zero, the git
module will call fail_json().

The problem is that git checkout will summarize the commit message,
such as:

    HEAD is now at ea38409... removing artificial error

When the string 'error' is the commit message, this check will
erroneously think the command failed.

This also removes the method switchLocalBranch() since it is no longer
used.
12 years ago
Michael DeHaan 454de792f4 update changelog 12 years ago
Michael DeHaan 092f83e6f8 Merge pull request #781 from gottwald/devel-mysql-socketOption
login_unix_socket option for mysql modules
12 years ago
Michael DeHaan b02faac712 Add list of releases 12 years ago
Michael DeHaan 51c4456c95 update RPM changelog 12 years ago