Commit Graph

18134 Commits (b59b5a286b3a0247a9a6218be9fd2f24fc318d6c)
 

Author SHA1 Message Date
James Cammarata 5587b08335 Make sure setup tasks inherit properly from their parent play
Fixes #13602
10 years ago
Toshio Kuratomi ceef202024 Update submodule refs 10 years ago
Toshio Kuratomi 315fd15f69 Merge pull request #12909 from photoninger/sles11.4-fix_2nd_try
Fix for SLES 11.4, which has now also an /etc/os-release file.
10 years ago
Brian Coca dd4787701f fix unicode input for template lookup
fixes #14207
10 years ago
James Cammarata 0c237c4531 Merge pull request #14191 from paulcalabro/devel
Added hyphen (-) as a valid character for permissions
10 years ago
Brian Coca db375c22af load now does not modify the incomming data
also removed json loader as yaml loader can do both
10 years ago
Matt Davis c9a288898c Merge pull request #14196 from ansible/synchronize-set-shell
When setting up the local connection for the rsync we need to set the shell as well.
10 years ago
Toshio Kuratomi 2c825539ff When setting up the local connection for the rsync we need to set the shell as well.
Fixes #13490
10 years ago
Matt Martz bf52e541fb Add newline when printing the password 10 years ago
Matt Martz 6d1a834b81 Add vault-keyring.py contrib script that can be used with --vault-password-file 10 years ago
Matt Martz 4547ac7fb1 v2 version of slack callback plugin 10 years ago
Brian Coca 4b1d621442 Merge pull request #14173 from sradvan/doc-fix-bsd-intro
grammar fixes; capitalize where necessary; general clean-up
10 years ago
Paul Calabro 901d349f45 Adding a hyphen in the perms pattern section, since doing something like
go=- is a quick way to strip all permissions for non-owners.
10 years ago
Toshio Kuratomi 5ecfa8ddfc Merge pull request #14189 from ansible/unicode-pager
Changes to convert to unicode at the borders
10 years ago
Toshio Kuratomi 605fb08487 Merge pull request #14168 from ansible/safer-squashing
Squashing was occuring even though pkgs didn't have a template that would be affected by squash
10 years ago
Toshio Kuratomi fa9822df0f Changes to convert to unicode at the borders
The module docs and vault changes solve issues where tracebacks can
happen.  The galaxy changes are mostly refactoring to be more pythonic
with a small chance that a unicode traceback could have occurred there
without the changes.  The change in __init__.py when we actually call
the pager makes things more robust but could hide places where we had
bytes coming in already so I didn't want to change that without auditing
where the text was coming from.

Fixes #14178
10 years ago
Toshio Kuratomi e7a9031d61 Update submodule refs 10 years ago
Brian Coca 8755e8b3bc Merge pull request #14170 from strictlyd/devel
Fixing typo depricated for deprecated.
10 years ago
Scott Radvan ba9e5fa6ba grammar fixes; capitalize where necessary; general clean-up 10 years ago
Darren Tong 90c14644b0 Fixing typo depricated for deprecated. 10 years ago
Toshio Kuratomi 0e410bbc8a Squashing was occuring even though pkgs didn't have a template that would be affected by squash
This broke other uses of looping (looping for delegate_to in the
reported bug)

Fixes #13980
10 years ago
Brian Coca fad6eb1844 fixed unit test to match new output of become/su 10 years ago
James Cammarata 39b4117816 Merge pull request #14153 from oneswig/doc-ipaddr-add-subnet-masks
Details on how to convert subnet masks into CIDR
10 years ago
Brian Coca a928465c9e added note about 1.9 ppa 10 years ago
Brian Coca c857b20043 fixed issue with vars prompt warning causing error
sometimes display object is not magically available, use it explicitly,
no need to be classmethod anymore
fixes #14147
10 years ago
Toshio Kuratomi 3f3e3e3d5b Return an error when synchronize is used with something other than an ssh connection
Suggested in #2832
10 years ago
Kamil Szczygiel a381c1bbd6 added skip_ssl argument for VMware module to skip SSL verification (required when using self signed certificates) 10 years ago
Brian Coca 6bf2f45ff5 fix for so su works in more cases
should not fail anymore on csh, fish nor the BSDs
fixes #14116
10 years ago
Peter Sprygada 4fa6902c96 address minor bugs in nxos shared module
This addresses two issues with the nxos shared module.  The first issue is
argument precedence checking.  The module should prefer explicit arguments
over arguments passed vi the provider.  This is now fixed to honor that
precedence.  The second issue is collecting output from nxapi and returning
the response.  Prior to this change the entire json structure was returned.
Now just the output is returned to align it better with cli based output
10 years ago
Peter Sprygada c59916c43d fixes issue with eos shared module argument precedence
The eos shared module should prefer to use explicit task arguments over
arguments provided through the provider.  This fixes a problem where
that was not the case
10 years ago
James Cammarata a61e51efb7 Don't try to generate retry files if the tqm hasn't been initialized
Fixes #14144
10 years ago
Stig Telfer 326ae21089 Details on how to convert subnet masks into CIDR
Use data reported by Ansible network facts as an example.
10 years ago
Toshio Kuratomi 7e3963420d Merge pull request #14140 from ansible/synchronize-ports-fix
Fix for inventory hosts on localhost with alternate ports.
10 years ago
Toshio Kuratomi cb2b19ced8 Fix for inventory hosts on localhost with alternate ports.
Fixes https://github.com/ansible/ansible-modules-core/issues/2831
10 years ago
James Cammarata 3ed3a5f43a Make retry file generation not use StringIO 10 years ago
James Cammarata 78d499140c Re-implementing the retry file feature for 2.0
Fixes #13944
10 years ago
James Cammarata 07a9a54b0e Fix lookup of parent attribute when parent doesn't have the attr
Fixes #14100
10 years ago
Brian Coca 66104191d1 fixed permissions check for ansible.log
fixes #13990
10 years ago
Brian Coca 46fde754af Merge pull request #14044 from skorochkin/devel
Adding support for scm-based role source urls (ansible-galaxy)
10 years ago
Brian Coca f374bfd0b3 Merge pull request #14105 from towolf/expand_get_diff
Handle the key 'custom' in the 'diff' result from modules
10 years ago
Tobias Wolf 5b293b56d6 Handle the key 'prepared' in the 'diff' result from modules
So far, when a 'diff' dict is returned with module results, it is
checked for 'before' and 'after' texts, which are processed in
_get_diff() by python difflib.  This generates the changes to display
when CLI users specify --diff.

However, some modules will generate changes that cannot easily be
expressed in a conventional diff. One example is the output of the
synchronize module, which presents changed files in a common log format
as in `rsync --itemize-changes`.

Add a check for a diff['prepared'] key, which can contain prepared diff text
from modules.
10 years ago
Toshio Kuratomi c44110bc81 Update submodule refs to pick up the synchronize internal parameter 10 years ago
Toshio Kuratomi a23a5d1b93 Merge pull request #13968 from ansible/synchronize-become-is-reversed
synchronize: First cut at not doing sudo on the control machine but on the remote machine instead.
10 years ago
Toshio Kuratomi d0a062ffa3 python3 doesn't have raw explicit-unicode literals. Workaround it with a raw native string that we make unicode in py2. 10 years ago
Toshio Kuratomi 3cf59d30f7 For synchronize, fix sudo to execute on the remote end of the connection
* In 2.0.0.x become was reversed for synchronize. It was happening on
  the local machine instead of the remote machine. This restores the
  ansible-1.9.x behaviour of doing become on the remote machine.
  However, there's aspects of this that are hacky (no hackier than
  ansible-1.9 but not using 2.0 features).  The big problem is that it
  does not understand any become method except sudo.  I'm willing to use
  a partial fix now because we don't want people to get used to the
  reversed semantics in their playbooks.
* synchronize copying to the wrong host when inventory_hostname is
  localhost
* Fix problem with unicode arguments (first seen as a bug on synchronize)

Fixes #14041
Fixes #13825
10 years ago
Toshio Kuratomi f4d68b8860 Transform tracebacks into unicode before printing
Fixes #14042
10 years ago
Brian Coca c063803a91 raise AnsibleError as an 'expected' exception
fixes #14065
10 years ago
Brian Coca 9df0662408 simpler conditional 10 years ago
Brian Coca e3a58a883a Merge pull request #13166 from defionscode/ec2_util_boto3
Patch to remove dependency on boto when only using boto3
10 years ago
Jonathan Davila 041e1979c4 Boto3 error handle fix 10 years ago