Brian Coca
6a62ad6c4b
hide internal params once used
2016-02-01 15:17:23 -05:00
Brian Coca
e0ed88e668
normalize error message on src != dir when local
...
now action plugin returns same error as module
2016-02-01 13:43:35 -05:00
Matt Martz
ddfab5faf1
Use isinstance type checks in bool filter so we can handle unsafe proxy objects. Fixes #14240
2016-02-01 12:32:59 -06:00
Peter Sprygada
b2f1c0691d
initial add of action plugin ops_template
...
Adds new local action ops_config for handling openswitch configurations using
either dc or cli based configurations. Implements the common net_config
local action.
Note this refactors the ops_config plugin to ops_template
2016-02-01 11:54:56 -05:00
Peter Sprygada
4f2a75923e
initial add of action plugin ios_template
...
Adds a new local action ios_config for working with cisco ios configuration
files. Implements the common net_confing local action
Note this plugin was refactored from ios_config to ios_template
2016-02-01 11:54:02 -05:00
Peter Sprygada
54f7a7b6d2
initial add of action plugin nxos_template
...
Adds new local action for working with cisco nxos configurations. Implemements
the net_config local action.
Note this action plugin was refactored from nxos_config to nxos_template
2016-02-01 11:52:50 -05:00
Peter Sprygada
be82caefd2
initial add of action plugin eos_template
...
Adds a new local action for eos_config module to handle templating configs
and backing up running configurations. Implements the local action
net_config
Note this action was refactored from eos_config to eos_template
2016-02-01 11:51:52 -05:00
Brian Coca
25f403d36d
Merge pull request #14244 from anthonycrobinson/devel
...
Update example vpc_desitnation_variable example with working settings
2016-02-01 11:30:33 -05:00
Anthony Robinson
b73c7728f4
Update example vpc_desitnation_variable example with working settings
2016-02-01 11:05:46 -05:00
Peter Sprygada
1733bf4053
minor update for nxos
...
This fixes a minor bug in the nxos config module to ensure that both the
cli and nxapi transport return the running config as a string and not
a list object.
2016-01-31 22:59:49 -05:00
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
Matt Martz
bf52e541fb
Add newline when printing the password
2016-01-28 16:20:59 -06:00
Matt Martz
6d1a834b81
Add vault-keyring.py contrib script that can be used with --vault-password-file
2016-01-28 16:17:57 -06:00
Matt Martz
4547ac7fb1
v2 version of slack callback plugin
2016-01-28 16:13:29 -06: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