Commit Graph

748 Commits (925c9eb38fdec9380641d29367aa68f8bd4a13ac)

Author SHA1 Message Date
Lorin Hochstein eabbaaec46 Have ansible respect private_key_file option
The ansible command-line tool was ignoring the private_key_file option.
12 years ago
willthames f456d999a9 Fix templates for non root sudo_user
When using template module, if a restrictive umask is set, the
sudo_user won't be able to read the /tmp/ansible-dir/source file
after it is copied across following _transfer_str

I wonder if this behaviour shouldn't be abstracted somehow (as
this correction also happens after put_file in the copy module too)
12 years ago
Michael DeHaan dc14681530 rename isset to is_set 12 years ago
Michael DeHaan 8621539341 Merge branch 'only_if-isset' of https://github.com/dhozac/ansible into devel 12 years ago
Michael DeHaan ba97ad13e3 Merge pull request #1010 from tima/yaml-jinja
Added to_yaml and from_yaml filters to Jinja environment.
12 years ago
Michael DeHaan 8a09e1281b Fixup modularized template module 12 years ago
Michael DeHaan 633e513a65 Modular server-side actions (squash merge) 12 years ago
Michael DeHaan 975c323e39 Release version bump 12 years ago
Michael DeHaan 2bf9a92bb6 Don't load plugins starting with "_". 12 years ago
Michael DeHaan 6fb1884a03 Add __init__'s to git 12 years ago
Timothy Appnel 23cd7ad08a Added to_yaml and from_yaml filters to Jinja environment. 12 years ago
Anastasis Andronidis 02510ec2ff --version is now taking the correct head 12 years ago
Daniel Hokka Zakrisson 14db2fa376 Add an isset("$var") function to only_if 12 years ago
Michael DeHaan f41d3b9bd2 Fix skipped callback 12 years ago
Michael DeHaan 96f257cea1 Fix invocation-output-supression code to still provide invocation data to the callbacks. 12 years ago
Michael DeHaan 2843e31e09 Don't add 'n/a' because if running from source there will be no git 12 years ago
Michael DeHaan 0c386b0514 Merge pull request #993 from andronat/repo-as-submodule
Fixed a parsing HEAD problem, when ansible is checked out as a submodule
12 years ago
Anastasis Andronidis ba707f56c1 except now returns a 'n/a' version. Some changes in comments 12 years ago
Michael DeHaan aa704a6111 backuplocal => backup_local for API standardization reasons 12 years ago
Michael DeHaan b97e2a6f5a Merge branch 'backup-common' of https://github.com/dhozac/ansible into devel 12 years ago
Daniel Hokka Zakrisson 7a201dbb2e Keep result pristine for ignore_errors 12 years ago
Anastasis Andronidis 63b4f8dd80 small typo 12 years ago
Anastasis Andronidis 44a28838db Fault handling for YAML file and gitdir value. 12 years ago
Daniel Hokka Zakrisson dfcb9d3c2d Move backup to module_common 12 years ago
Anastasis Andronidis 6c8171f6f9 Appended repo_path 12 years ago
Anastasis Andronidis 4e94db3d78 Fixed a parsing HEAD problem, when ansible is checked out as a submodule
Fixed a parsing HEAD problem, when ansible is checked out as a
submodule in git
12 years ago
Michael DeHaan c04f00e3a6 Fix async callback 12 years ago
Jan-Piet Mens a37c6ea936 Jinja2 filter from_json added, to_json renamed 12 years ago
Michael DeHaan f140332ff6 Make it possible in the inventory file to have spaces in host variables 12 years ago
Stephen Fromm 6742e9c3f4 Add option required=(True|False) to get_bin_path and update modules
Added required as optional argument to get_bin_path(). It defaults to
false.  Updated following modules to use required=True when calling
get_bin_path():  apt_repository, easy_install, group, pip,
supervisorctl, and user.
Also removed _find_supervisorctl() from supervisorctl module and updated
_is_running() to not need it.
12 years ago
Stephen Fromm 4e7b67a45a Add option to pass list of dirs to get_bin_path in module_common.py
The optional list is prepended to PATH.
Fix get_bin_path() to use os.path.join().
12 years ago
Stephen Fromm 4c62e495eb Add method get_bin_path to module_common.py
This is meant to assist all the modules that look for the full path of
an executable.  If it is found and is X_OK, returns the full path.
Otherwise, it returns None.
12 years ago
Daniel Hokka Zakrisson 2d448f2a34 Invoke cowsay without going through the shell 12 years ago
Michael DeHaan 00c4c5c4a1 If tags "all" is used, don't choke. 12 years ago
Michael DeHaan 7ec0afbebc Merge pull request #956 from tima/jinja-json-filter
Add tojson filter to jinja environment used by the template module.
12 years ago
Timothy Appnel d306c8debc Add tojson filter to jinja environment used by the template module. 12 years ago
Michael DeHaan 4caf85e37b Fix --limit for external inventory scripts, slight variant on fix from pull #949 12 years ago
Michael DeHaan 4002cfbdcd Minor string tweak. 12 years ago
Mark Theunissen 2755602dcb Check to make sure that tags passed as parameters actually exist 12 years ago
Daniel Hokka Zakrisson 89a31b0a2a Allow variable expansion for vars that evaluate to false 12 years ago
Michael DeHaan 98483f5252 Merge pull request #942 from dagwieers/color-capability
Check for terminal capabilities if curses is available
12 years ago
Michael DeHaan cb18b3eb26 Merge branch 'devel' of github.com:ansible/ansible into devel 12 years ago
Dag Wieërs 47f3be3de0 Check for terminal capabilities if curses is available
Normally curses is part of the standard library, but this was not
always the case in the past.

The ANSIBLE_COLOR environment variable and the tty-check have
priority over the curses method (as they are both faster than
the curses test).
12 years ago
Ludovic Claude b0a4a9e188 Issue #935: filter out __init__ module from the list of callbacks 12 years ago
Derek Carter de306922b1 scope error with utils.py branch_path 12 years ago
Michael DeHaan 91a9d0d499 Merge pull request #930 from elventear/version_fix
Fix git version when some head files are missing.
12 years ago
Pepe Barbe 5c4a523148 fix _gitinfo function to avoid ansible crashing in cases where the branch file is missing (e.g. after a gc) 12 years ago
Michael DeHaan 2833f48ed3 Make a particular error about an invalid include statement a bit clearer. 12 years ago
Michael DeHaan 3de4e45741 Move plugin directories 12 years ago
Michael DeHaan bf92a9e4e0 Store invocation differently from an API perspective, but hide in callbacks 12 years ago