Peter Sprygada
633b16d116
add exeception handling for invalid commands over nxapi
...
This commit will catch invalid commands being send over nxapi and call
fail_json on the module. The nxos shared module will now return the
failure
2016-01-31 20:10:20 -05:00
Brian Coca
49c15c8137
Merge pull request #14220 from bcoca/ansible_pull_once
...
harcoding inventory/hosts when pulling from repo
2016-01-30 11:35:12 -05:00
Brian Coca
37eac4592e
added back --profile to keep backwards compat
...
this was broken by #12548
2016-01-30 11:35:11 -05:00
Toshio Kuratomi
a28b0713bd
Merge pull request #14221 from ansible/callback-v2-attribute-replacement
...
Some attributes of callbacks aren't in v2. Port plugins to the v2 way to do that.
2016-01-30 08:17:09 -08:00
Toshio Kuratomi
9e3932ffca
Some attributes of callbacks aren't in v2. Port plugins to the v2 way to do that
...
Update porting guide with info on callback porting
2016-01-29 19:45:12 -08:00
Toshio Kuratomi
fb57818ea3
Explicitly set validate_certs=False as the boto default is True
...
Fixes #14089
2016-01-29 16:37:15 -08:00
Brian Coca
7964a35918
harcoding inventory/hosts when pulling from repo
...
return to pre 2.0 behaviour which did not factor inventory into the repo pull
2016-01-29 18:46:56 -05:00
Brian Coca
eaf34fa2be
added diff feature to changelog
2016-01-29 18:40:06 -05:00
Brian Coca
f26673904f
updated intro adhoc to use become
2016-01-29 17:46:18 -05:00
Brian Coca
cb3493900c
Merge pull request #14202 from bcoca/v1_callback_compat
...
fixed code for v1 callback runtime compatiblity
2016-01-29 16:55:37 -05:00
Brian Coca
1aae6499ca
fixed code for v1 callback runtime compatiblity
...
old exception code obsoleted by exception avoidance
errors on callback produce warnings and don't stop play
2016-01-29 16:55:23 -05:00
James Cammarata
5587b08335
Make sure setup tasks inherit properly from their parent play
...
Fixes #13602
2016-01-29 15:38:46 -05:00
Toshio Kuratomi
ceef202024
Update submodule refs
2016-01-29 09:59:58 -08:00
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.
2016-01-29 09:11:51 -08:00
Brian Coca
dd4787701f
fix unicode input for template lookup
...
fixes #14207
2016-01-29 10:42:52 -05:00
James Cammarata
0c237c4531
Merge pull request #14191 from paulcalabro/devel
...
Added hyphen (-) as a valid character for permissions
2016-01-29 00:55:53 -05:00
Brian Coca
db375c22af
load now does not modify the incomming data
...
also removed json loader as yaml loader can do both
2016-01-28 19:43:17 -05:00
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.
2016-01-28 16:30:57 -08:00
Toshio Kuratomi
2c825539ff
When setting up the local connection for the rsync we need to set the shell as well.
...
Fixes #13490
2016-01-28 16:02:57 -08:00
Brian Coca
4b1d621442
Merge pull request #14173 from sradvan/doc-fix-bsd-intro
...
grammar fixes; capitalize where necessary; general clean-up
2016-01-28 15:53:00 -05:00
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.
2016-01-28 13:05:10 -07:00
Toshio Kuratomi
5ecfa8ddfc
Merge pull request #14189 from ansible/unicode-pager
...
Changes to convert to unicode at the borders
2016-01-28 11:46:34 -08:00
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
2016-01-28 10:57:43 -08:00
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
2016-01-28 10:56:46 -08:00
Toshio Kuratomi
e7a9031d61
Update submodule refs
2016-01-28 09:43:29 -08:00
Brian Coca
8755e8b3bc
Merge pull request #14170 from strictlyd/devel
...
Fixing typo depricated for deprecated.
2016-01-28 12:03:36 -05:00
Scott Radvan
ba9e5fa6ba
grammar fixes; capitalize where necessary; general clean-up
2016-01-28 21:58:49 +13:00
Darren Tong
90c14644b0
Fixing typo depricated for deprecated.
2016-01-27 23:22:27 -08:00
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
2016-01-27 21:55:00 -08:00
Brian Coca
fad6eb1844
fixed unit test to match new output of become/su
2016-01-27 16:49:51 -05:00
James Cammarata
39b4117816
Merge pull request #14153 from oneswig/doc-ipaddr-add-subnet-masks
...
Details on how to convert subnet masks into CIDR
2016-01-27 16:34:03 -05:00
Brian Coca
a928465c9e
added note about 1.9 ppa
2016-01-27 16:26:44 -05:00
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
2016-01-27 16:13:06 -05:00
Toshio Kuratomi
3f3e3e3d5b
Return an error when synchronize is used with something other than an ssh connection
...
Suggested in #2832
2016-01-27 12:48:15 -08:00
Kamil Szczygiel
a381c1bbd6
added skip_ssl argument for VMware module to skip SSL verification (required when using self signed certificates)
2016-01-27 20:41:28 +01:00
Brian Coca
6bf2f45ff5
fix for so su works in more cases
...
should not fail anymore on csh, fish nor the BSDs
fixes #14116
2016-01-27 14:13:01 -05:00
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
2016-01-27 11:25:56 -05:00
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
2016-01-27 11:25:47 -05:00
James Cammarata
a61e51efb7
Don't try to generate retry files if the tqm hasn't been initialized
...
Fixes #14144
2016-01-27 09:56:50 -05:00
Stig Telfer
326ae21089
Details on how to convert subnet masks into CIDR
...
Use data reported by Ansible network facts as an example.
2016-01-27 12:14:50 +00:00
Toshio Kuratomi
7e3963420d
Merge pull request #14140 from ansible/synchronize-ports-fix
...
Fix for inventory hosts on localhost with alternate ports.
2016-01-26 15:04:10 -08:00
Toshio Kuratomi
cb2b19ced8
Fix for inventory hosts on localhost with alternate ports.
...
Fixes https://github.com/ansible/ansible-modules-core/issues/2831
2016-01-26 13:53:42 -08:00
James Cammarata
3ed3a5f43a
Make retry file generation not use StringIO
2016-01-26 14:52:41 -05:00
James Cammarata
78d499140c
Re-implementing the retry file feature for 2.0
...
Fixes #13944
2016-01-26 14:11:28 -05:00
James Cammarata
07a9a54b0e
Fix lookup of parent attribute when parent doesn't have the attr
...
Fixes #14100
2016-01-26 13:10:23 -05:00
Brian Coca
66104191d1
fixed permissions check for ansible.log
...
fixes #13990
2016-01-26 11:22:52 -05:00
Brian Coca
46fde754af
Merge pull request #14044 from skorochkin/devel
...
Adding support for scm-based role source urls (ansible-galaxy)
2016-01-26 10:41:05 -05:00
Brian Coca
f374bfd0b3
Merge pull request #14105 from towolf/expand_get_diff
...
Handle the key 'custom' in the 'diff' result from modules
2016-01-26 10:01:44 -05:00
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.
2016-01-26 09:29:37 +01:00
Toshio Kuratomi
c44110bc81
Update submodule refs to pick up the synchronize internal parameter
2016-01-25 19:57:28 -08:00