GGabriele
091c5b6a4e
Fixed RETURN string
9 years ago
GGabriele
026ddfcc46
Fixed RETURN string
9 years ago
GGabriele
6afeb471ad
Fixed RETURN string and added notes
9 years ago
GGabriele
36942ec24b
Fixed RETURN string
9 years ago
GGabriele
fff9c9ed44
Fixing nxos_vrf
9 years ago
GGabriele
6a412e55e9
Adding nxos_vrf_interface
9 years ago
GGabriele
3c51d11244
Adding nxos_vrf
9 years ago
GGabriele
da0ed0ce9b
Adding nxos_get_facts
9 years ago
GGabriele
101ce75342
Addng nxos_feature
9 years ago
Kei Nohguchi
795b3c25cd
ops_template.py: Taking care of the JSON src variable ( #3313 )
...
* ops_template.py: Taking care of the JSON src variable
* ops_template.py: Specify type='str' for src argument to be explicit
9 years ago
jedelman8
5531b1c3fc
add nxos_vlan
9 years ago
jedelman8
4672809bf3
add nxos_switchport
9 years ago
Patrick Ogenstad
5409ed1b28
Fix documentation example, missing ")"
9 years ago
Matt Davis
6d0e9327e3
Merge pull request #3342 from gundalow/docsfix
...
ansible-validate-modules part 1: Correct documentation
9 years ago
Peter Sprygada
6b8a92045f
handles config replace properly in eos_template
...
fixes 3366
9 years ago
John Barker
531eed80b3
Replace BOOLEANS with true/false
9 years ago
Peter Sprygada
cf01087a30
refactor iosxr_template module to remove old diff functions
...
this replaces the old diff functions with the netcfg shared module for
handling configuration diffs between running and candidate
9 years ago
Peter Sprygada
0f724f625d
refactor iosxr_config module to remove old diff functions
...
this replaces the old diff functions with the netcfg lib for handling
configuration diffs between running and candidate configurations
9 years ago
Peter Sprygada
86f9c672f0
cleanup iosxr_command module to be consistent with other network modules
...
this cleans up some of the function calls and output keys to be consistent
with other command modules
9 years ago
Peter Sprygada
25baca1eb8
refactors nxos_template and removes diff functions
...
replaces the diff functions with the netcfg shared module for handling
configuration diff
9 years ago
Peter Sprygada
639e324fdb
refactors nxos_config and removes diff functions
...
this refactors the nxos_config module removing the diff functions and
replacing with the netcfg shared module
9 years ago
Peter Sprygada
11c00c2278
cleans up nxos_command and adds some additonal info on exception
...
This cleans up some of the nxos_command module code function names to
be more consistent and adds additional information of failures
9 years ago
Peter Sprygada
ad519c2f5c
refactors eos_template to remove diff functions
...
replaces functions with netcfg shared library for handling configuration
diffs
9 years ago
Peter Sprygada
5d0ee49067
refactors eos_config to remove config diff functions
...
replaces with netcfg shared library for handling configuration diffs
9 years ago
Peter Sprygada
c500b2ff99
refactors the ios_template module to use netcfg diff
...
removes the functions for performing configuration diffs to use the
netcfg shared lib
9 years ago
Peter Sprygada
df32f64898
refactor ios_config to use netcfg diff shared lib
...
Move the configuration diff code from the module to the shared lib
9 years ago
Toshio Kuratomi
a2f41dfb04
Give headers a default so that we can add to it.
9 years ago
Peter Sprygada
bff7cb6cad
fixes #3274
9 years ago
Toshio Kuratomi
d71b9bae89
If file attribs are specified set them even if file already exists.
...
Fixes #11821
9 years ago
Toshio Kuratomi
eebd6c93ba
Fix documentation
9 years ago
James Cammarata
d7422c02ad
Merge pull request #3010 from grybak-arista/exit-filter
...
Filter exit commands when no other commands are included
9 years ago
Peter Sprygada
eef9c54874
update to nxos_command with additional exception handling
...
This update adds exception handling to catch errors when trying to parse
command output to json. It also removes the dependency on importing json
opting to use the AnsibleModule methods instead
9 years ago
Peter Sprygada
f46ebf2c30
Merge pull request #3141 from privateip/module_ops_command
...
initial add of ops_command module
9 years ago
Peter Sprygada
154fc16b0e
Merge pull request #3142 from privateip/module_ops_config
...
initial add of ops_config module
9 years ago
Peter Sprygada
c0de719539
Merge pull request #3222 from jrk07/patch-1
...
Merged thanks @jrk07
9 years ago
Peter Sprygada
d4e687f894
doc string fixes for eos_config
...
This updates eos_config with some fixes to the documentation string
9 years ago
Peter Sprygada
416dd73b09
bugfix in eos_template for backing up config
...
eos_template would connect to the remote device to get the running config
for backup even if backup is not needed.
9 years ago
Peter Sprygada
cf3287b312
minor function clean ups in eos_command
...
This commit cleans up a couple of functions and removes the json
import to use the json methods from AnsibleModule
9 years ago
jrk07
3cc277bc08
Doc Update: ios_template.py title and example
...
ios_template.py was named ios_config when viewing docs. The examples also had net_config still. Updated those here.
9 years ago
Peter Sprygada
e3ca92e97d
bugfix for ios_config module
...
This commit address a bug in the ios_config module when using the
match: strict argument. When the argument is used, the module will
compare the configuration block same as match: exact which is not the
intended behavior. This commit updates the behavior to propertly handle
the strict argument.
9 years ago
Peter Sprygada
11056c8ed2
bugfix for handling match=strict in eos_config
...
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
9 years ago
Peter Sprygada
e9ab4d688d
bugfix for handling match=strict in iosxr_config
...
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
9 years ago
Peter Sprygada
a7f67921fd
bugfix for handling match=strict in nxos_config
...
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
9 years ago
Peter Sprygada
c17a2c0206
Merge pull request #3138 from privateip/module_ops_template
...
refactor arguments in ops_template
9 years ago
Matt Martz
3c59eedb9b
Don't pass follow_redirects to fetch_url, use module.params instead
9 years ago
Peter Sprygada
b7d7bfa0b1
initial add of ops_config module
...
This commit adds a new module, ops_config, that allows playbook designers
to create tasks for configuring OpenSwitch over the CLI. The module
is designed to work directly with configuration mode in OpenSwitch and
therefore only supports the CLI transport option
9 years ago
moyashiki
e851e91b49
Fix ios_command fix
...
This is not valid YAML commands. So fix it.
9 years ago
Sam Wilson
23b98dae3e
Fixed BOOLEANS rendering in docsite
9 years ago
Brian Coca
0bbb7ba38d
Merge pull request #3135 from mscherer/improve_uri_doc
...
Fix non RFC 2606 domain name in doc
9 years ago
Peter Sprygada
1de18ca36b
initial add of ops_command module
...
This commit adds a new module, ops_command, that handles executing commands
on OpenSwitch over the CLI. Since this module is designed to work with the
OpenSwitch CLI, it only supports the CLI transport option
9 years ago
Toshio Kuratomi
7088f72742
At least for now, set body to raw as it can be either a dict or jsonified-str
...
Since our validation does conversion as well as validation, I'm not sure
this is entirely correct. May need to take a look at our conversion
code and re-examine to be sure we're doing it right.
9 years ago
Toshio Kuratomi
3853d2a9a6
Change parameter to type=path
...
Read as binary for python3 preparedness
9 years ago
Peter Sprygada
b3f232434a
refactor arguments in ops_template
...
This commit refactors the arugments used in ops_template to be strictly
typed and handle by declarative / rest and cli based configurations. It
also removes old arguments not supported and cleans up the documentation
strings
9 years ago
Michael Scherer
d81a6740ec
Fix non RFC 2606 domain name in doc
9 years ago
Peter Sprygada
616b7564ef
fixes issue with return docstring
...
This commit fixes an issue with the return doc string. The old line
was removed that would prevent the docs form being built correctly
9 years ago
Brian Coca
011c558927
corrected version added
9 years ago
Brian Coca
7162623e86
Merge pull request #2913 from msvab/devel
...
Clarify get_url timeout documentation
9 years ago
Matt Martz
adf2125339
Indicate in notes that the dependency on httplib2 was removed for v2.1
9 years ago
Matt Martz
7f206fdfe8
Drop dependency on httplib2 in the uri module, instead using ansible.module_utils.urls
9 years ago
Brian Coca
148fa183de
Merge pull request #3014 from bcoca/uri_fixes
...
fixes for uri module
9 years ago
Peter Sprygada
7a19e16dca
minor bugfixes for junos_config return values
...
The junos_config now properly returns updates and reponses
9 years ago
Peter Sprygada
87cee15a85
initial add of ops_template module
...
This adds a new module ops_template used for configuring OpenSwitch
using local declarative config modules
9 years ago
Peter Sprygada
567e09c933
bugfix for missing function name in ios_command
...
This provides a minor bugfix for a missing function name in the ios_command
network module
9 years ago
Matt Martz
c7845456a6
Various simple linting type cleanups on modules
9 years ago
Peter Sprygada
0e270da561
initial add of iosxr_config module
...
This adds a new module, iosxr_config, that can be used for configuring
Cisco IOS XR devices. It is provides a set of arguments for sending
configuration commands to the device over cli
9 years ago
Peter Sprygada
fb82e08e73
initial add of iosxr_template module
...
This adds a new module, iosxr_template, that can be used to template
configurations for IOS XR devices. Templates are then loaded into the
target device over cli
9 years ago
Peter Sprygada
2e2380a505
initial add of iosxr_command module
...
This adds a new module, iosxr_command, that can be used to issue
commands to devices running IOS XR. Commands are run on the
target device over cli
9 years ago
Peter Sprygada
af40116e23
update junos_command module return values
...
This minor update fixes the return values from the junos_command module
to be consistent with other network modules
9 years ago
Peter Sprygada
b7114cc783
update ios_command module return values
...
This minor change updates the return values and doc string for the
ios_command module to be consistent with other network modules
9 years ago
Peter Sprygada
c90181c64e
Merge pull request #2999 from chouseknecht/ios_commnad_init
...
Add ios_command module
9 years ago
Peter Sprygada
5626fb38fa
add init to network/cumulus and reset module attrs
...
The modules were merged in without an __init__.py. This adds the module
iniit and resets all of the module attrs to 0644
9 years ago
Peter Sprygada
b54a5de6c6
Merge pull request #2880 from CumulusNetworks/cumulus-core-modules
...
Adding files to ansible core modules.
9 years ago
Peter Sprygada
0d1bf50ca1
add package init to junos/
9 years ago
Peter Sprygada
96986b6448
initial add of junos_config module
...
This adds a new module, junos_config, useed to configure Juniper JUNOS based
devices. The config module can be used to set an ordered set of set and
delete statements over a cli transport
9 years ago
Peter Sprygada
ab31397a7d
initial add of junos_template
...
This adds a new module, junos_template, that can read in a template
config and push the changes to the device. It can also backup the
current config. This module is implemented over cli
9 years ago
Peter Sprygada
8c46a08379
initial add of junos_command module
...
This adds a new module, junos_command that can be used for sending commands
to Juniper JUNOS based devices. The junos_command module is implemented
over a cli transport
9 years ago
chouseknecht
a4f67a4ef2
Add ios_commnand module.
9 years ago
chouseknecht
573ba42b03
Moved Conditional class to netcfg.
9 years ago
Brian Coca
f5a374103f
fixes for uri module
...
- clarify docs on body_json behaviour
- only tranform into json if body input is not a string
users keep passing json string and expecint it to not be jsonified again
- fixed issue with removes not handling path expansion correctly
- switched all path variables to 'type path' to handle expansions
9 years ago
Gary Rybak
373961da04
Add filter to eos_template to remove configuration mode command
...
followed immediately by an exit command indented one level.
9 years ago
Peter Sprygada
e6460906fd
update eos_config doc string and return values
...
This change update the return values from eos_config to be consistent with
all network config modules. This will now return updates and responses
from the module
9 years ago
Peter Sprygada
d66a0cbe3f
update eos_template doc string and return values
...
This updates the return values form eos_template to be consistent
across all template modules. This change now returns updates and
respones
9 years ago
Peter Sprygada
624d1e38b8
update eos_command doc strings and return values
...
This change updates the returns values from eos_command to be consistent
with network modules. It now returns stdout, stdout_lines and failed_conditionals
9 years ago
Peter Sprygada
d8615683e5
update nxos_config doc strings and return values
...
This commit unifys the return values for the nxos_config module to always
return updates and responses
9 years ago
Peter Sprygada
ef89e0eee6
update nxos_template doc strings and return values
...
This updates the nxos_template doc string to unify the return values
across all network modules. This change now returns stdout, stdout_lines
and failed_conditionals
9 years ago
Peter Sprygada
c566cb3277
update nxos_command doc strings and return values
...
This modifies the return values to make them consistent across all
network command modules. The module now returns stdout, stdout_lines
and failed_conditionals
9 years ago
Peter Sprygada
e010a7b240
update ios_template doc strings and return values
...
Sets the return values from ios_template to be consistent with the rest
of the network modules. Return values are now updates and responses
9 years ago
Peter Sprygada
ca2ae67794
update ios_config doc strings and return values
...
This changes the return values to be consistent across all network
config modules. The return values are now updates and responses
9 years ago
Peter Sprygada
08fd378479
Merge pull request #2909 from chouseknecht/eos_api_module
...
Eos api module
9 years ago
chouseknecht
4e614d36bc
Adding eos_eapi module.
9 years ago
chouseknecht
f5a92e3565
Adding nxos_nxapi module.
9 years ago
Peter Sprygada
6c486cd341
bug fix for eos_config module
...
This addresses a bug in the eos_config module that would prevent it
from running properly. The module should now properly process the config
and the candidate
9 years ago
Peter Sprygada
23f1d20a5c
initial add of ios_template module
...
This adds a new module for working with IOS devices and building configurations
using templates.
9 years ago
Peter Sprygada
d05ceb9e28
initial add of ios_config module
...
This adds a new module ios_config that can be used for configuring
IOS devices.
9 years ago
Peter Sprygada
d64ae18307
bug fix on parameter in eos_config
...
The eos_config module has a bug where its trying to pass an argument
that doesn't exist. This fixes that problem, removing the offending
keywork argment
9 years ago
Peter Sprygada
0df3a0e501
Merge pull request #2941 from privateip/module_eos_template
...
initial add of new module eos_template
9 years ago
Peter Sprygada
9ee5dc12b6
Merge pull request #2872 from privateip/module_eos_command
...
initial add of eos_command module
9 years ago
Peter Sprygada
6702496781
Merge pull request #2862 from privateip/module_eos_config
...
initial add of eos_config module
9 years ago
Peter Sprygada
b7c2878136
initial add of eos_config module
...
This adds a new module for pushing configuraitons to eos devices in a
reliable and repeatable fashion. It includes support for templating
configurations and backing up the current config prior to pushing out
changes. This module works over either CLI or EAPI.
This PR has a dependency on ansible/ansible PR #14009 being merged
9 years ago
Peter Sprygada
fca78058db
fixup docstring in nxos_config module
9 years ago
Peter Sprygada
82a051d150
Merge pull request #2897 from privateip/module_nxos_command
...
initial add of new module nxos_command
9 years ago
Peter Sprygada
6cddd47e67
Merge pull request #2942 from privateip/module_nxos_template
...
initial add of nxos_template module
9 years ago
Peter Sprygada
ef8df6c0ec
initial add of new nxos_config module
...
This adds a new module for managing configuraiton files for Cisco NXOS
devices. It provides configuration file management including templating
and backing up the current configuration.
This PR has a dependency on ansible/ansible PR # 14012
9 years ago
Peter Sprygada
25dee10814
initial add of nxos_template module
...
The nxos_template module worksw by allowing configurations to be pushed
to Cisco NXOS devices over CLI or NXAPI and templated using the Ansible
Jinja2 template engine
9 years ago
Peter Sprygada
d29db07fab
initial add of new module eos_template
...
The eos_template module works by allowing configurations to be pushed
to Arista EOS devices that can be templated by the Ansible Jinja2
template engine
9 years ago
Peter Sprygada
332c6a56c5
initial add of eos_command module
...
This adds a new module eos_command to network/eos. The eos_command module
is used for sending arbitrary commands to Arista EOS devices. It includes
arguments that allow the module to wait for specific values before the
module returns control to the playbook or fails
9 years ago
Peter Sprygada
32e238a8f0
initial add of new module nxos_command
...
This adds a new module nxos_command that can be used to send arbitrary
commands to NXOS devices. The module includes an argument that allows
the responses to be evaluated and causes the module not to return
control to the playbook until a set of conditions has been met.
9 years ago
Michal Svab
2c3ef42d92
Clarify get_url timeout documentation
9 years ago
Barry Peddycord III
a398a36a9d
Removing alpha-stage modules.
9 years ago
Scott Suehle
48270402d3
Adding files to ansible core modules.
9 years ago
Brian Coca
df222bed86
added missing version_added
9 years ago
techraf
49ec5a6a30
Added 'backup' parameter to get_url module
9 years ago
Brian Coca
1229adb36c
Merge pull request #2609 from cspollar/devel
...
Fixed typo in uri module example
9 years ago
Brian Coca
292a83cba7
corrected version_added for new temp_dest feature
9 years ago
Brian Coca
d2eaf33add
Merge pull request #1887 from sysadmin75/9512_get_url_tmp_option2
...
Adds tmp_dest option to get_url module.
9 years ago
cspollar
34f7d7b068
Fixed typo in uri module example
9 years ago
Toshio Kuratomi
22c2789b72
Document and return an error if httplib2 >= 0.7 is not present. We
...
can't use httplib2 0.6.x and below because they do not verify TLS
certificates and thus are insecure.
Fixes #1875
9 years ago
Toshio Kuratomi
49ee5dd443
Remove debugging
9 years ago
Toshio Kuratomi
11833906b5
xmlcharrefreplace is only for encoding, not for decoding :-(
9 years ago
Brian Coca
f33fba84c0
specified that uri must be uppercase
9 years ago
Brian Coca
144291120e
restored quotes to checksum description to avoid breaking docs
9 years ago
JM
7943b3e6b0
description for the get_url module describing checksum verification before file download
9 years ago
Sam Mingo
7982d582d9
Update get_url.py
...
Fixed typo with header parameter to get_url in the documentation.
9 years ago
Colin Hutchinson
ab50943887
Update get_url.py
...
use an abbreviated sha
9 years ago
Colin Hutchinson
880dc307b0
Remove the sample SHA256
...
putting a full sha256 made the width of the table in the generated docs not fit on some screens
9 years ago
Toshio Kuratomi
8412adc4f9
Quote checksum description to fix docs
9 years ago
muffl0n
4f0cf6d2ca
Allow additional hashing algorithms. Directly use hashlib and check if
...
used algorithm is supported.
9 years ago
sysadmin75
cd8bfc7695
Adds tmp_dest option to get_url module.
...
Addresses the issue in ansible/ansible#9512
9 years ago
Brian Coca
587370e2e7
minor doc fixes to get_url
9 years ago
Brian Coca
76344db61e
fixed version added
9 years ago
Dan
777d736baa
Added header support
...
Added the ability to pass custom http headers to the fetch_url method.
9 years ago
Brian Coca
03a809a21c
added version_added to body_format in uri
9 years ago
Brian Coca
ca80b92233
added version_Added to get_url's force_basic_auth
9 years ago
Brian Coca
7ac642f406
Merge pull request #153 from woltage/devel
...
Refactor force basic auth, now all modules which use fetch_url() can use force_basic_auth
9 years ago
Brian Coca
11c6e6a3f5
Merge pull request #1179 from hver/devel
...
Allow custom methods in uri module
9 years ago
Iiro Uusitalo
afd0222184
uri.py is not using module_utils/urls.py from ansible core
9 years ago
Iiro Uusitalo
4b1b10fa20
Refactor force basic auth, now all modules which use fetch_url() can use force_basic_auth
9 years ago
Hennadiy (Gena) Verkh
f190f98b06
Update uri.py
...
Added methods 'TRACE', 'CONNECT' from https://www.rfc-editor.org/rfc/rfc2616.txt , section 5.1.1
Added method 'REFRESH'
9 years ago
Toshio Kuratomi
27e1aa7d10
Merge pull request #1634 from Eronarn/devel
...
Change uri debug example
10 years ago
Brian Coca
b3d5479612
Merge pull request #687 from abackstrom/sha256-mismatch-redownload
...
get_url: Force redownload if sha256sum does not match
10 years ago
James Meickle
73390f8ecc
Change uri debug example
10 years ago
Toshio Kuratomi
280ccfbb78
Add note about redirects proxies
...
Fixes #1574
10 years ago
Toshio Kuratomi
4519dd5f4d
Small cleanups.
...
* Import url(lib|parse|lib2) if needed by the module rather than relying
on module_utils.urls to do so.
* Remove stdlib modules from requirements
* Use the if __name__ conditional for invoking main()
10 years ago
murdochr
9040c2f75c
Change docs to reflect correct when syntax for matching variable strings as per MD's forum post as this fails with unhelpful error otherwise.
...
https://groups.google.com/forum/#!topic/ansible-project/D2hQzZ_jNuM
10 years ago
Greg DeKoenigsberg
2a5f0bde87
Proper author info for all remaining modules
10 years ago
Toshio Kuratomi
5983d64d77
Properly flip default for verifying server cert. Add nice error messages when the cert is invalid
10 years ago
Toshio Kuratomi
7fea93835c
Change uri module to validate ssl certs by default
10 years ago
whiter
ba35cb8173
Doc update to highlight use of body_type parameter
10 years ago
Toshio Kuratomi
b307f7bcba
Fix problem writing binary content to a temporary file in the uri module.
...
Fixes https://github.com/ansible/ansible/issues/10938
Fixes https://github.com/ansible/ansible/issues/7606
10 years ago
Tom Paine
97b64abf75
Update uri.py
...
Move choices from description to choices field.
10 years ago