| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change example syntax on nxos_feature module
* Change example syntax on nxos_hsrp module
* Change example syntax on nxos_igmp module
* Change example syntax on nxos_interface module
* Change example syntax on nxos_interface_ospf module
* Change example syntax on nxos_ip_interface module
* Change example syntax on nxos_ping module
* Change example syntax on nxos_switchport module
* Change example syntax on nxos_vlan module
* Change example syntax on nxos_vrf module
* Change example syntax on nxos_vrf_interface module
* Change example syntax on nxos_vrrp module
* Change example syntax on meta module
* Change example syntax on set_fact module
* Change example syntax on win_copy module
* Change example syntax on win_file module
* Change example syntax on win_get_url module
Remove escaping of \ characeter in Windows paths since it's no longer required for single quoted or unquoted values when using multi-line YAML syntax.
* Change example syntax on win_lineinfile module
* Change example syntax on win_msi module
* Change example syntax on win_stat module
* Remove nxos_bgp example from nxos_igmp module
* Mark examples as regexp to avoid syntax error
* Cleanup win_copy.py examples
* Cleanup win_file.py examples
* Remove quotes in win_get_url.py examples
* Cleanup quotes and languare in win_lineinfile.py
* Cleanup examples in win_group.py
* Cleanup examples in win_service.py
* Don't use : in documentation because it breaks the YAML syntax check
* Cleanup win_copy.py examples
* Cleanup win_copy.py examples
* Minor change to fix test failure
* Use single quotes
|
|
|
|
|
|
|
|
|
|
|
| |
* Update documentation for vyos_command
Add information on new environment variable added in #18546.
Add note on command that should not be run via Ansible.
* White space changes
Two spaces after period.
|
|
|
| |
Fix #5636 per @ganeshnalawade
|
|
|
|
|
|
|
| |
If 'src_format' is not mentioned in playbook
and config is in text format a list object is
passed to 'guess_format' function instead
of string, hence TypeError execption is seen.
Fix is to pass string object instead of list.
|
|
|
|
|
|
|
| |
When using a file:// or ftp:// URL the normal provisions that a non-200 status code means error have been disabled.
But the common error status -1 from fetch_url is not properly returning an error message.
This fix ensures that if the status code returns -1, we return a proper error message.
This fixes #3563
|
| |
|
|
|
|
|
|
|
| |
Just a small cleanup for the existing occurrences.
Using the in-operator for hash lookups is faster than using .keys()
http://stackoverflow.com/questions/29314269/why-do-key-in-dict-and-key-in-dict-keys-have-the-same-output
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change example syntax on os_auth module
* Change example syntax on os_client_config module
* Change example syntax on os_image_facts module
* Change example syntax on os_networks_facts module
* Change example syntax on os_nova_flavor module
* Change example syntax on os_object module
* Change example syntax on os_server module
* Change example syntax on os_subnet_facts module
* Change example syntax on rax_files module
* Change example syntax on rax_files_objects module
* Change example syntax on mysql_db module
* Change example syntax on file module
* Change example syntax on uri module
* Change example syntax on cl_bond module
* Change example syntax on cl_bridge module
* Change example syntax on cl_img_install module
* Change example syntax on cl_interface module
* Change example syntax on cl_license module
* Change example syntax on cl_ports module
* Remove trailing colon
|
| |
|
| |
|
|
|
|
|
|
| |
* now works for any banner in the config
* provides a configurable delimiter
link #5318
|
|
|
|
|
|
|
|
|
|
|
|
| |
stdout lines are now available when certain exceptions occur
(Ref ansible/ansible#18241)
Also noticed that to_lines was essentially handled in
lib/ansible/plugins/action/__init__.py -- only difference was
it didn't handle a list. to_lines() could be removed across
network modules now, but this commit is only for ios_command.
Also adds disconnect() to ios_command that was added
to ios_config in #5247
|
|
|
|
|
|
|
| |
this fix will now handle loading a multiline banner on ios based
devices without hanging. It separates the processing of banners
from the remainder of the config
link #5318
|
|
|
|
|
|
|
|
|
|
|
|
| |
The module will error if it tries to use a cli command that is not available
on a given platform. This fix will address that problem. If the cli
command is not available, then the command is silently discarded and the
facts that the command output is based on is not returned. Any failed
commands are provided in the module return under the failed_commands
key. This fix also updates the Examples docstring to make it consistent
with other ios_* modules
fixes #5444
fixes #5372
|
| |
|
|
|
|
|
|
|
|
|
| |
In python3, response fields are title cased whereas in python2 they were
not. We return these fields to the module's caller so we need to
normalize all of them to be lower case.
This reverts the lowercase check from 454f741ef5b56cccd123e12d7b2e6fe31d47c755
as that one was only targetted as a single field.
|
|
|
|
|
| |
This fix handles changes in the response headers (no longer all
lowercased) and switches from unicode() to to_text().
|
| |
|
|
|
| |
The previous fix created a new bug that this PR resolves
|
|
|
|
|
|
|
|
|
|
| |
* Correct spelling mistakes
* Correct more spelling issues
* merge conflict
* Revert typo in parms
|
|
|
|
|
|
| |
earlier versions of ios do not provide the all-filesystems argument. This
fix will now only report on the flash filesystem for ios_facts
fixes #4712
|
|
|
|
|
|
| |
The ios_config module will now explicitly send a disconnect to the
remote host at the conclusion of the module run
ref #5181
|
|
|
| |
removed name from an older file which got left out
|
|
|
|
| |
The feature is extremely unstable right now and decision to pull
it out for 2.2. Workaround is to do the same in the playbook
|
|
|
|
|
|
|
| |
earlier versions of eos do not support configuration sessions. this change
will now check if sessions are supported and if not will fallback to
not using config sessions
fixes #4909
|
| |
|
|
|
|
|
|
| |
This fixes two issues. First, it fixes an issue with the junos_config
module not properly recognizing a file with set commands. The second
bug would cause the diff_config() function to raise an exception due
to a blank line when splitting the config
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix imports on nxos_bgp* modules
* Fix imports on nxos_evpn* modules
* Cleanup issues for nxos_facts
* Shuffle imports for nxos_template
* Fix imports on nxos_ospf* modules
* Fix nxos_hsrp
As get_hsrp_groups_in_devices is not actually called anywhere, I presume this
change is reasonable.
* Fix imports on nxos_interface* modules
* Update nxos_static_route imports
* update nxos_vrf
* Update nxos_config imports
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The comment argument can be at most 60 characters per the IOS XR command
line. If a comment is > 60 characters, the module will now gracefully error
and return a well formed message.
fixes 5146
|
| |
|
| |
|
|
|
|
| |
This change will now handle a problem adding a condition that raises
an AddConditionError and return a well formed error to the user.
|
| |
|
|
|
|
| |
AddConditionErrors are now handled by nxos_command and a well formed error
is returned from the module
|
|
|
|
|
| |
The Conditional instance will now raise the AddConditionError and this
change instructs eos_command to catch the error and return a nicely formed
error message
|
| |
|
| |
|
|
|
|
|
|
| |
* Fixing nxos_hsrp
* Adding space after =
|
| |
|
|
|
|
| |
* fixes junos_template (fixes #3962)
* fixes junos_config
|
|
|
|
|
|
|
|
| |
* Add ethernet-link-oam mapping
* Adding port-secutiry mapping
* Fixing command output format
|
|
|
|
|
|
|
|
| |
* Fixing nxos_vlan
* Fixing docstring
* Fixing docstring
|
|
|
|
|
|
| |
* Fixing command output formatting
* Fixing cmds
|