Commit Graph

5506 Commits (c271c0eb04f540bce8a4d6544cbcbc36dd2835a3)

Author SHA1 Message Date
Brian Coca c271c0eb04 added setting of ansible_ssh_user to current user as backwards compatibilty issue 10 years ago
Brian Coca 4486e136ea Merge pull request #12899 from bcoca/vault_fixes
simplified vault password functions
10 years ago
Brian Coca 5b33b0ddfd Merge pull request #12896 from bcoca/ssh_current_user_config
don't set user to current user
10 years ago
James Cammarata 677a2f95e5 Make sure Base attributes are copied cleanly
Fixes #12882
10 years ago
Toshio Kuratomi 8f77dd1cf2 Update submodule refs 10 years ago
Brian Coca 368f4448dc simplified vault password functions
also fixes #12864
10 years ago
Toshio Kuratomi 92dd563a75 Fix invocation from bad merge and note where it would need to go to keep
it out of registered vars as well.
10 years ago
Brian Coca f78c82b9ee don't set user to current user
also remove condition to bypass setting user if user matches current user
this enables forcing user when set to the same user as current user and ignoring .ssh/config
while keeping .ssh/config with current user if nothing is specified.
10 years ago
Brian Coca 25e3fe04a8 finalized changed to use abridtged_result instead of result
removed no longer defined no_log
10 years ago
Toshio Kuratomi b109b83809 Update submodule refs 10 years ago
Toshio Kuratomi ca32d5bacc Potential fix for #12816 10 years ago
James Cammarata 3eea4e23d5 Manually add plugin directories when running the adhoc command
Fixes #12891
10 years ago
Toshio Kuratomi 3812ec8d1d Implement invocation hiding for all callbacks if the verbosity is low 10 years ago
Brian Coca 275764d4a5 avoid showing invokation when no_log is set or verbosity is low 10 years ago
James Cammarata 63ea614b4c Version bump for 2.0.0-0.4.beta2 10 years ago
Toshio Kuratomi 99c6f77e59 Fix callback 10 years ago
James Cammarata 4fd4f3374a Merge pull request #12879 from larsks/bug/12876
allow include: directive to work during exception processing
10 years ago
Lars Kellogg-Stedman 914f68f9af allow include: directive to work during exception processing
prior to this commit, an attempt to use the `include:` directive would
fail in a `rescue:` or `always:` block if there were failures in the
main block task list.

Resolves #12876.
10 years ago
Toshio Kuratomi ce2b18174e Merge pull request #12878 from ansible/invocation-fix
Invocation fix
10 years ago
Toshio Kuratomi 2e87c1f74e Two fixes to action plugins
* Fix the task_vars parameter to not default to a mutable type (dict)
* Implement invocation in the base class's run() method have each action
  module call the run() method's implemention in the base class.
* Return values from the action plugins' run() method takes the return
  value from the base class run() method into account so that invocation
  makes its way to the output.

Fixes #12869
10 years ago
Brian Coca 5017a96948 Revert "make callbacks declare needing whitelisting"
another premature merge
This reverts commit df8ff85787.
10 years ago
James Cammarata 86de1429e5 Cleaning up FIXMEs 10 years ago
Toshio Kuratomi 1e50d31cdc Update submodule refs 10 years ago
Brian Coca df8ff85787 make callbacks declare needing whitelisting
this will allow for custom or v1 callbacks locally loaded to automatically be triggered as they were in 1.x
10 years ago
Toshio Kuratomi 75cff7129c Fix for invocation not being added to output.
We want invocation to be omitted when we are running async, not when we
aren't running async.
10 years ago
Toshio Kuratomi 6b6d03290a Restore the automatic addition of invocation to the output
Revert "Remove auto-added invocation return value as it is not used by v2 and could leak sensitive data."

This reverts commit 6ce6b20268.

Remove the note that invocation was removed as we've now restored it.

Revert "keyword not in ubuntu 14.04"

This reverts commit 5c01622457.

Revert "remove invocation keyword check"

This reverts commit 5177cb3f74.
10 years ago
James Cammarata 498c27d09a Re-adding role_names magic variable
Fixes #12863
10 years ago
Brian Coca 09899b7c43 Merge pull request #12783 from larsks/bug/12782
correct value of remote_user for local connections
10 years ago
Brian Coca 54e821ca94 added deprecation warning to comma separated role spec 10 years ago
Brian Coca 9886829e40 Merge pull request #12861 from willthames/galaxy_spec_in_meta_main_fix
Allow meta/main.yml to include roles through spec file
10 years ago
Brian Coca fc3a44485b skip errors on conditional if task is include
fixes #12843
10 years ago
Will Thames 002972c6cf Allow meta/main.yml to include roles through spec file
ansible-playbook now works when run with a playbook
that includes a role that includes another role
specified using csv format

Updated one of the roles used in the tests to fix
broken tests - `make test_galaxy` now works

Fixes #11486. Also addresses the problem alluded to in #10620.
10 years ago
Brian Coca 08c9e70307 made display part of variable manager and corrected reference to it
fixes #12859
10 years ago
James Cammarata 2b3c5aa41e Support cmd param in Tasks by assigning it to _raw_params
Fixes #12856
10 years ago
James Cammarata 0e447e3f41 Merge branch 'devel' of https://github.com/mathieumd/ansible into mathieumd-devel 10 years ago
James Cammarata 4b20884719 Return correct changed flag when using check mode with template and force=no
Fixes #12844
10 years ago
Brian Coca 04aa7701d1 fix prompt, static methods don't get 'self'
fixes #12833
10 years ago
Toshio Kuratomi 42ce3de8d0 Merge pull request #12853 from ansible/winrm-return-bytes
In v2, exec_command should return bytes and the caller will take responsibility for converting to unicode
10 years ago
Toshio Kuratomi 3d57a202b5 And another fix for docs 10 years ago
Toshio Kuratomi 9dc9a606f6 Correct docs build 10 years ago
Toshio Kuratomi 632d356d22 Update submodule refs 10 years ago
Toshio Kuratomi 6e5055e786 Update the use of no_log values to cover everything that heuristic_log_sanitize does.
Fixes #12792
10 years ago
James Cammarata ec56b29ba4 Fix setting of interpreter values for delegated hosts
Fixes #12772
10 years ago
Toshio Kuratomi c845181dc1 In v2, exec_command should return bytes and the caller will take responsibility for converting to unicode 10 years ago
gduke 744679601f Remove mutable default arguments. 10 years ago
Toshio Kuratomi 10e2fc6f60 Update submodule ref 10 years ago
Toshio Kuratomi 1126ce34e3 Merge pull request #12846 from ansible/nolog-for-return-value
Hide values in json returns which were given in parameters marked no_log.
10 years ago
Toshio Kuratomi c2d188baff Hide values in json returns which were given in parameters marked no_log. 10 years ago
James Cammarata 3ddda2f460 Merge pull request #12842 from mcsalgado/include_with_items
Revert back to copying self._task.args
10 years ago
Brian Coca 1ecad5aed2 now galaxy correctly detects empty requirements file
also allow for 'scm' and 'src' not to be populated in requirements entries
10 years ago