Commit Graph

17686 Commits (49f7e6a12cf8361a40626acf7e649a0886fe19c8)
 

Author SHA1 Message Date
Peter Sprygada 49f7e6a12c update submodule pointer 9 years ago
Peter Sprygada d70fd17cf9 Merge pull request #14618 from ogenstad/devel
Fixes authentication error bug when user has rsa keys
9 years ago
Peter Sprygada 5d5abbb898 bump next VERSION for -network 9 years ago
Peter Sprygada 3f7b7a1bb9 update submodule pointer 9 years ago
Peter Sprygada 858a0a2339 bugfix on shared module utils from missed cherry-pick
One of the commits was missed when the branch was created.  This fixes the
modules so they work properly
9 years ago
James Cammarata 61989f72cc VERSION rename for the -network release 9 years ago
James Cammarata b3da42a669 Updating submodule pointer for the network branch 9 years ago
Peter Sprygada e15daf186a minor bugfix that will catch connection errors in eos
This commit fixes a situation where connection errors would be caught
but no useful information display.  The connection error is now caught
and emitted in a call to fail_json
9 years ago
Peter Sprygada 9c4467303f minor bugfix that will catch connection errors in ios
This commit fixes a situation where connection errors would be caught
but no useful information display.  The connection error is now caught
and emitted in a call to fail_json
9 years ago
Peter Sprygada df3f9345e1 minor bugfix that will catch connection errors in iosxr
This commit fixes a situation where connection errors would be caught
but no useful information display.  The connection error is now caught
and emitted in a call to fail_json
9 years ago
Peter Sprygada 5c7c13b9c1 minor bugfix that will catch connection errors in nxos
This commit fixes a situation where connection errors would be caught
but no useful information display.  The connection error is now caught
and emitted in a call to fail_json
9 years ago
Peter Sprygada 0ef6a7ae98 minor bugfix that will catch connection errors in junos
This commit fixes a situation where connection errors would be caught
but no useful information display.  The connection error is now caught
and emitted in a call to fail_json
9 years ago
Peter Sprygada 1fd5bcdc09 minor bug fixes and updates to shell 9 years ago
chouseknecht d178c4be2a Move Conditional class to netcfg.
Added error handling for connect and execute methods.

Fix comments
9 years ago
Peter Sprygada be846c7053 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
9 years ago
Peter Sprygada fa2834d863 initial add of new action plugin junos_template
This adds a new action plugin, junos_template that allows the
the junos_template module to perform the templating function.  It
implements net_template
9 years ago
Peter Sprygada 320e099c12 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
9 years ago
Peter Sprygada f0ee61925a adds new action plugin iosxr_template
This adds a new action plugin iosxr_template that allows the
iosxr_template module to pass network device configurations through the
template engine.  It also allows configurations to be backed up.
9 years ago
Peter Sprygada d024517d4b 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
9 years ago
Peter Sprygada 651842a4ef 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
9 years ago
chouseknecht ee7de10285 Add safety check on _backup key. 9 years ago
James Cammarata bec698052f New release v2.0.1.0-0.2.rc2 9 years ago
Brian Coca 729dbe7e67 removed follow from common file docs 9 years ago
Toshio Kuratomi 032d917e68 Update changelog for dnf fix 9 years ago
Toshio Kuratomi 9ecdec0141 Update submodule refs 9 years ago
James Cammarata 028c710380 Fix bugs related to task_includes and dep chain inheritance
* Fix the way task_include fields were created and copied
* Have blocks get_dep_chain() look at task_include's blocks for proper
  dep chain inheritance
* Fix the way task_include fields are copied to prevent a recursive
  degradation

Fixes #14460
9 years ago
James Cammarata 8ee8872d6b Fixing bugs related to nested blocks inside roles
* Make sure dep chains are checked recursively for nested blocks
* Fixing iterator is_failed() check to make sure we're not in a
  rescue block before returning True
* Use is_failed() to test whether a host should be added to the TQM
  failed_hosts list
* Use is_failed() when compiling the list of hosts left to iterate
  over in both the linear and free strategies

Fixes #14222
9 years ago
Marc Poirier caf1537510 Display the string which is causing an exception to be raised.
In the ansible template module, when there is an error while
expanding a templated string, displaying the string causing the
exception is very useful.
9 years ago
Brian Coca 6f54b1ae2b removed signal trapping 9 years ago
nitzmahone f77690e652 update extras submodule ref
for ec2_vpc_net_facts and elasticsearch module updates
9 years ago
Toshio Kuratomi 5336a51a9e Update submodule for fix to mysql_user password 9 years ago
Toshio Kuratomi 9c049b757f Revert "Module params should default to str in most cases."
This reverts commit 9fae8501e2.

Reverting for 2.0.1 -- this has been broken in the 2.0 tree for long
enough that some modules are relying on the broken behaviour.  This fix
will definitely return for 2.1.0 and may return in 2.0.2 (impact needs
to be evaluated).
9 years ago
Brian Coca 0ccbbe0c09 allow skipping tasks due to undefined var
mimic 1.x behaviour but give out big deprecation message, not only
for missing attribute but any undefined error.
9 years ago
Brian Coca 43bbd4b6dc termination handling
- moved to base cli class to handle centrally and duplicate less code
- now avoids duplication and reiteration of signal handler by reassigning it
- left note on how to do non-graceful in case we add in future
  as I won't remember everything i did here and don't want to 'relearn' it.
9 years ago
Brian Coca 517eec8c49 fix cartesian lookup
it seems that this was not working in 1.9 but we swallowed up the error
fixes #14437
9 years ago
nitzmahone b85d9acc09 update core submodule ref 9 years ago
Toshio Kuratomi ba5a3f2f67 Update submodule ref 9 years ago
Robin Roth eafc46512d fix typo 9 years ago
Robin Roth 39a53c5623 add ismount function from python Lib/posixpath.py
needed for https://github.com/ansible/ansible-modules-core/pull/2737
9 years ago
Toshio Kuratomi 9fae8501e2 Module params should default to str in most cases. 9 years ago
Brian Coca 724761d2a1 read full file when doing diff
but avoid reading file at all or full file when file is too big for diffing
9 years ago
Toshio Kuratomi 3e2b2b359c Clarify error message when module replacer encounters a bad import line for module_utils code 9 years ago
James Cammarata 5ebd5c548c Catch exceptions during module execution so they don't fail the worker
Fixes #14120
9 years ago
Brian Coca 18ffa8a4da avoid termination message when term is internal 9 years ago
Etherdaemon fa88d0770c Proposed fix for ansible/ansible-modules-extras#1348 due to datetime.datetime type not being matched 9 years ago
James Cammarata 24cae22e0b Submodule pointer update 9 years ago
Matthew Stoltenberg 4f2a2ec884 strip BECOME-SUCCESS at lower level
Fixes #14395
9 years ago
James Cammarata 7d44063c1e Filter become success string from the stdout of script results
Fixes #14390
9 years ago
Toshio Kuratomi dcc0a2d596 Also hide the before state of files with --diff and no_log 9 years ago
Brian Coca c97afd0c48 fix winrm erorr formatting 9 years ago