- 21 Jan, 2013 3 commits
-
-
Vincent Van der Kussen committed
-
Vincent Van der Kussen committed
-
vincent Van der Kussen committed
-
- 20 Jan, 2013 2 commits
-
-
Michael DeHaan committed
-
Reported hanging of no-password sudo in some cases. Need to explore. This reverts commit 87f6739e. Conflicts: lib/ansible/utils/__init__.py
Michael DeHaan committed
-
- 19 Jan, 2013 2 commits
-
-
Support sudo alternatives that offer sudo-compatible interfaces
Michael DeHaan committed -
ron1 committed
-
- 18 Jan, 2013 9 commits
-
-
new module: sysctl to handle sysctl entry
Michael DeHaan committed -
Pacman module
Michael DeHaan committed -
add when_{failed,changed}, and extended when_{set,unset}
Michael DeHaan committed -
add apt_key module
Michael DeHaan committed -
get_service_status() is now using self.service_control() to check status
Michael DeHaan committed -
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_version
Michel 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
-
- 16 Jan, 2013 1 commit
-
-
Pretty straightforward. Give it a URL with an exported GPG key for signing an Apt repository. It downloads it and will install it using apt-key. It's even smart enough to tell if it's already there (i.e. actually tells you if it changed or not).
Jayson Vantuyl committed
-
- 14 Jan, 2013 1 commit
-
-
Fixes a bug where init-scripts were not used
root 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 3 commits
-
-
Daniel Hokka Zakrisson committed
-
Fixes #1854.
Daniel Hokka Zakrisson committed -
Jure Triglav committed
-