- 18 Jan, 2013 4 commits
-
-
add filter_plugins to example ansible.cfg
Michael DeHaan committed -
Service mod.: Proper(?) handling of return code 69
Michael DeHaan committed -
Fix sudo user env
Michael DeHaan committed -
Adds -i to make_sudo_cmd so target user's environment gets loaded when configurationslike this are used : - hosts: ubuntu name: Install ruby for the configured ruby user sudo: True sudo_user: rubyuser # should be ${ruby_user}, but can't for now because of #1665 tasks: - name: Gets current ruby version action: shell rbenv version register: ruby_current_versionMichel Blanc committed
-
- 17 Jan, 2013 2 commits
-
-
fdavis committed
-
This adds "69" to the return codes from the status command that should be considered as not running. At least "django-celery" uses this return code, maybe others:: /venv/bin/python /code/project/manage.py celeryctl status echo $? # 69 when not running. A bit of googling let me to http://tldp.org/LDP/abs/html/exitcodes.html and on a Ubuntu Server 12.10 I get:: ~# cat /usr/include/sysexits.h | grep 69 #define EX_UNAVAILABLE 69 /* service unavailable */ I'm not sure if the content of sysexits.h is the same on other OS'es.Rune Kaagaard committed
-
- 13 Jan, 2013 14 commits
-
-
Various cleanup to run_command
Stephen Fromm committed -
* Rename fail_on_rc_non_zero to check_rc, much more succinct. * Simplify method defintion * Fix command module and drop shell=shell option; whether to use shell is determined by if args is a list.
Stephen Fromm committed -
Add run_command to module_common and update modules to use it.
Stephen Fromm committed -
This updates apt, apt_repository, command, cron, easy_install, facter, fireball, git, group, mount, ohai, pip, service, setup, subversion, supervisorctl, svr4pkg, user, and yum to take advantage of run_command in module_common.py.
Stephen Fromm committed -
This adds a helper method that modules can call to execute a command via subproces. It takes two arguments: the command to run and keyword options that control how the process is executed. Supported options are: fail_on_rc_non_zero, close_fds, and executable. fail_on_rc_non_zero will call fail_json if the command fails. If args is a list, the command will be run with shell=False; otherwise, if a string, it will be run with shell=True. Otherwise, run_command() returns the returncode, stdout, and stderr.
Stephen Fromm committed -
Daniel Hokka Zakrisson committed
-
Daniel Hokka Zakrisson committed
-
Daniel Hokka Zakrisson committed
-
Daniel Hokka Zakrisson committed
-
Daniel Hokka Zakrisson committed
-
hacking/env-setup: remove unused sys import.
Daniel Hokka Zakrisson committed -
Prevent permission denied when cloning
Daniel Hokka Zakrisson committed -
Without read permission to the current working directory, git-clone will fail: root@host:~$ sudo -u git -H git clone \ git://github.com/ansible/ansible.git /home/git/ansible fatal: Could not change back to '/root': Permission denied This commit ensures that the working directory is changed to the parent-folder of the destination before doing the clone.
Gert Goet committed -
Blair Zajac committed
-
- 12 Jan, 2013 2 commits
-
-
typo in ssh private key name
Michael DeHaan committed -
Jan-Piet Mens committed
-
- 11 Jan, 2013 1 commit
-
-
EC2 module should report back the public_dns_name too
Michael DeHaan committed
-
- 10 Jan, 2013 8 commits
-
-
Daniel Hokka Zakrisson committed
-
Fixes #1854.
Daniel Hokka Zakrisson committed -
Jure Triglav committed
-
Jure Triglav committed
-
Updates Arch PKGBUILD to include other man pages
Michael DeHaan committed -
Fix distribution detection - return string instead of functions
Michael DeHaan committed -
Sergey Popov committed
-
add with_sequence lookup plugin
Daniel Hokka Zakrisson committed
-
- 09 Jan, 2013 9 commits
-
-
Plugin allows you to do easy counts for items.
Jayson Vantuyl committed -
Fixes #1848.
Daniel Hokka Zakrisson committed -
Man pages for ansible-pull and ansible-docs are now installed properly
Michel Blanc committed -
Revert the import of C in script
Daniel Hokka Zakrisson committed -
So we cannot get rid of this one now.
Dag Wieers committed -
Daniel Hokka Zakrisson committed
-
For compatibility with older releases as well as avoiding things like action: raw executable= show status to communicate with devices that don't have sh.
Daniel Hokka Zakrisson committed -
shlex.split will strip quotes and it might not even be sh at this point.
Daniel Hokka Zakrisson committed -
Clean up imports (taken from PR #1804)
Michael DeHaan committed
-