Trishna Guha
663f8464ee
eos_linkagg DI module ( #33007 )
...
* eos_linkagg DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* pep8 fixes
* Push fix for Qalthos's comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-12-20 19:43:30 +05:30
Nathaniel Case
cb1b705218
ios integration tests to network_cli ( #33920 )
...
* Preliminary steps
* Fix Python3 network_cli ios
* Add connection to debug strings
* Fix ios confirm prompt by way of optional newline
Also update ios_user delete tests
2017-12-20 09:03:29 -05:00
Abhijeet Kasurde
8d5c8b252d
VMware: Add support for cpuHotRemoveEnabled ( #33962 )
...
This fix adds support for cpuHotRemoveEnabled in vmware_guest module.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-12-20 19:15:55 +05:30
René Moser
09edb032d3
vultr: new module vr_firewall_rule ( #32637 )
...
* vultr: new module vr_firewall_rule
* vr_firewall_rule: fix typo
* fix styles
2017-12-20 13:42:21 +01:00
René Moser
acfa8d8b75
vultr: new module vr_ssh_key ( #30961 )
2017-12-20 13:41:33 +01:00
René Moser
73ddecd819
vultr: new module vr_firewall_group ( #30960 )
2017-12-20 13:41:07 +01:00
René Moser
cfd7325ac4
vultr: new module vr_server ( #30869 )
...
* vultr: new module vr_server
* minor restyling
* fix method name
2017-12-20 13:40:33 +01:00
Marc Tschapek
b3ff93e129
Added new module win_disk_facts ( #32935 )
...
* Added module new win_disk_facts
* Corrected examples section
* Added integration tests
* Added some disk properties
* Removed whitspaces
* Extended docu
* Changed header
* Added partition, volume and physical disk output
* Removed MediaType property of phys. disk
* Added return values
Added virtual disk, volume and physical disk output
* Added docu for return values
* Removed whitespaces
* Improved and added values
- Added virtual disk return values
- Improved code
* Updated docu
* Removed whitespaces
* Removed check
* Improved code and docu
* Changed integration test
* Changed integration test
* Changed integration test
* Changed integration test
* corrected typo
* Added admin test because CIM is not available with user rights
* Changed unit prefix from decimal to binary
2017-12-20 21:53:19 +10:00
Trishna Guha
4a4da2b774
nxos_static_route DI module ( #33797 )
...
* nxos_static_route DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add version_added
2017-12-20 17:08:29 +05:30
Kedar Kekan
78a14d7966
Cliconf and Netconf refactoring iosxr_interface ( #33909 )
...
* Cliconf and Netconf refactoring iosxr_interface
* adds `xml` key and related changes for netconf output
* * review comments changes
2017-12-20 13:06:07 +05:30
Fedor Sumkin
8a9865cb10
Fix for dns4
empty setting ( #30757 )
...
This fix check if DNS4 is None or not before proceeding with
other operations. Also, added unit test for this change.
Signed-off-by: Fedor Sumkin <qosys.net@gmail.com>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-12-20 12:48:22 +05:30
Trishna Guha
be89822bb5
Deprecate nxos_portchannel and add nxos_linkagg DI module ( #33376 )
...
* deprecate nxos_portchannel
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add nxos_linkagg DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* remove nxos_portchannel unit test
* fix syntax issues
* fix ansible-doc failure
* update nxos_portchannel unittest
* minor fixes and integration test
* update nxos_linkagg
2017-12-20 11:26:07 +05:30
Trishna Guha
3cce8dfafd
Deprecate nxos_ip_interface and Add nxos_l3_interface DI module ( #33866 )
...
* Deprecate nxos_ip_interface module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add nxos_l3_interface DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* pep8 fixes
* Add nxapi cli test
* Improve complexity
* manage layer3 interface
* fix unit test
2017-12-20 11:07:23 +05:30
Trishna Guha
27be2a0f5a
Handle nxos platform diffs with cli conf implementation ( #34020 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-12-20 10:41:10 +05:30
Abhijeet Kasurde
bc91258124
apt_get: add warning for force_apt_get ( #33994 )
...
This fix adds strict check for package manager binary checking in given
path.
Fixes : #32940
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-12-19 22:39:15 -06:00
Fabio Alessandro Locati
dc86f6f6d5
Easier to debug ( #30675 )
2017-12-19 22:33:11 -06:00
Toshio Kuratomi
2e1c889275
Have command nanny tell you how to disable the warning ( #34061 )
...
* Have command nanny tell you how to disable the warning
2017-12-19 17:30:10 -08:00
Toshio Kuratomi
cc7a5228b0
Deprecate check_invalid_arguments ( #34004 )
...
* Deprecate check_invalid_arguments
Check_invalid_arguments is a piece of functionality from the early days
of Ansible that should not be used. We'll remove it in Ansible 2.9.
Deprecating it for now.
2017-12-19 14:36:02 -08:00
Gobin Sougrakpam
e2de3c9776
[cloud] New module - AWS Direct Connect Gateway ( #33890 )
...
* Adding module for AWS Direct Connect Gateway
* Fixes for failing checks
* Fix errors for shippable checks
* Fix pep8 errors
* Fixes from review comments
* Simplify logic and add exception handling for every boto3 call
* Fix undefined variable
2017-12-19 17:22:18 -05:00
Sloane Hertel
bf8d695ec3
[ec2_vpc_peer] Remove use of DryRun since the module doesn't support check mode ( #34062 )
2017-12-19 16:42:26 -05:00
Chris Houseknecht
1a59247f27
K8s raw modules ( #34050 )
...
* New dirs, raw modules, and deprecations, 'openshift' not 'oc'
2017-12-19 15:25:33 -06:00
Brian Lamar
fcc79de246
Add support for intra-region VPC peering ( #34036 )
...
* [ec2_vpc_peer] Add support for intra-region VPC peering
2017-12-19 16:05:14 -05:00
Toshio Kuratomi
120af786af
Remove params option from examples
2017-12-19 12:04:14 -08:00
René Moser
168fb07cba
influxdb: make param database_name uncommon ( #34021 )
2017-12-19 20:51:07 +01:00
Øyvind Saltvik
b385e3d725
Add support for adding CORS to S3 bucket on AWS - fixes #29238 ( #22284 )
...
* Add aws_s3_cors module for adding/removing CORS to S3 bucket on AWS
Based on code found here but fixes some of the mentioned issues.
https://github.com/ansible/ansible-modules-extras/pull/1177/files
2017-12-19 14:23:51 -05:00
James Mighion
ded4e6ac0f
Ios config save ( #33885 )
...
* Fixing save so it still works. Adding changed as an option for save_when.
* Updating description to state that changed was added in 2.5.
* Fixing removal version for deprecated options.
2017-12-19 18:04:21 +00:00
Pilou
107934241e
gcdns_record: fix broken import ( #34024 )
2017-12-19 12:31:35 -05:00
Samer Deeb
1df57ac1ac
Add mlnxos_interface module ( #33839 )
...
* Add new module: mlnxos_interface for configuring mlnxos ethernet
interfaces
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Update mlnxos.py
* Fix Documentation
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Add missing documentation
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2017-12-19 17:24:42 +00:00
Nonoctis
a3d65056db
Fixed typo on git module doc ( #34039 )
2017-12-19 17:44:06 +01:00
bmildren
d668281a6b
Added docs fragment for proxysql ( #32502 )
...
* Added docs fragment for proxysql
* Added formatting for option names, and bool types
* Updated proxysql modules to use doc fragments
2017-12-19 12:12:19 +00:00
Ethan Devenport
e693d7e37c
New module: manage 1&1 cloud compute (cloud/oneandone/oneandone_server) ( #24878 )
...
* Added oneandone provider cloud server module.
* Updated comments, idempotency, handling of multiple resources.
* Added check mode support.
* fix validation errors
2017-12-19 11:31:39 +00:00
Trishna Guha
9f86b923e9
[CLI_CONF] Refactor nxos module common library to use cliconf plugin ( #31524 )
...
* refactor nxos modules
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* get_config update
* fix get_config
* update nxos module
* device_info
* fix conflict
* add failure message check
* pep8 fixes
* use get_capabilities to check cliconf
* Add logic to detect platform in get_capabilities and cache in module_utils
* return msg in edit_config
* fix conflicts
* make modules compatible
* fix nxos cliconf api
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* cache capabilities
* Update transport queries to get_capabilities in module level
* fix unit tests
* load_config error code
* remove unnecessary change
* Refactor nxos_install_os module
2017-12-19 12:22:33 +05:30
Chris Houseknecht
bd399ec674
Adds single, non-generated OpenShift module ( #33645 )
...
* Adds single, non-generated openshift module
* Adds kubernetes doc fragment
* Clarify docs
2017-12-18 20:04:50 -05:00
Chris Houseknecht
ead5b1d024
Adds single, non-generated K8s module ( #33517 )
...
* Adds k8s.py
* Two module approach to support overlapping objects
* Clarify docs
* Clary state and force parameters
* Updates examples
* Add description and display_name
* Fix linting issues
2017-12-18 20:04:35 -05:00
Loïc Blot
b25e333076
icinga2_host: Don't set template attribute on modification, it's not permitted ( #33989 )
2017-12-18 16:40:56 -05:00
Wojciech Pietruszeski
2a0cb20a1f
win_get_url: Changed basic auth from NetworkCredential to Base64 ( #32389 )
...
* Changed basic auth from NetworkCredential to Base64
* Added force_basic_auth parameter to win_get_url module
force_basic_auth provides user with option to control which mechanism to use
Updated win_get_url.py documentation section
* Add missing version_added in win_get_url.py
* minor update for documentation
2017-12-19 06:38:44 +10:00
Prasad Katti
ba32827f3b
Cleanup route53_zone examples ( #34000 )
2017-12-18 12:43:15 -05:00
Prasad Katti
2cdbde524b
route53_zone: fix the private zone creation example ( #33995 )
...
Creating a private hosted zone requires both `vpc_id` as well as `vpc_region`
2017-12-18 12:02:53 -05:00
Prasad Katti
423b5e475e
update ec2_vpc_net return values in docs ( #33902 )
2017-12-18 09:29:29 -05:00
Ondra Machacek
4e85cdc712
ovirt: Set no_log for storage connections ( #33987 )
2017-12-18 06:07:23 -05:00
Yanis Guenane
a724b8e722
openssl_certificate: Return self.cert.get_VALUES() ( #33970 )
...
Currently when we make up the return value, we take values based of the
parameters rather than the generated openssl_certificate itself.
This commits returns the actual certificate values making it all time
accurate.
2017-12-18 14:34:34 +05:30
Baptiste Fontaine
571f878817
file: Mention that src supports state=hard ( #31697 )
2017-12-15 17:17:34 -06:00
nathaniel gentile
441dc369ba
py3 compatibility: convert bytes to str ( #33206 )
...
Fixes #31723
In python3, ansible's fetch_url utility function wraps urllib.request.urlopen.
For HTTP and HTTPS URLs, this function returns a http.client.HTTPResponse object slightly modified.
Calling .read() on an HTTPResponse object returns bytes (note the docstring fix).
Here, to_native is used to convert the bytestrings returned by fetch_url into unicode strings.
This is necessary because:
1. Pre python3.6, json.loads requires passing a string, not a bytestring, as its argument
2. In python3 generally, testing if a string is a substring of a bytestring
using the 'in' operator will raise a TypeError
see:
- https://docs.python.org/3/library/urllib.request.html#urllib.request.urlopen
- https://docs.python.org/3/library/http.client.html#http.client.HTTPResponse.read
- https://docs.python.org/3/library/json.html#json.loads
2017-12-15 16:17:15 -06:00
André Nähring
b9bc64c7f9
Adding param "rule_num" for insert action to iptables module ( #33708 )
...
* Added rule_num parameter for insert action in iptables module
2017-12-15 16:08:40 -06:00
Pilou
85871da03d
consul_acl: fix broken import ( #33729 )
2017-12-15 16:06:11 -06:00
Matthew Staebler
82cd5ffa1d
[aws modules] use ec2_url in a few places it was missing ( #33954 )
2017-12-15 12:06:24 -05:00
Konstantin Shalygin
3c0a84349b
[module] find: Add ability to exclude results by pattern. ( #18949 )
2017-12-15 09:27:34 -07:00
Claes Nästén
5fdb39c4d1
nso_verify for Cisco NSO ( #33945 )
...
Module for verifying that configuration is as expected in Cisco NSO.
2017-12-15 13:43:07 +00:00
Abhijeet Kasurde
b5318e2c34
VMware: Add NIC configuration option ( #33851 )
...
This fix adds following configurable parameters to virtual network card
of virtual machine.
* WakeOnLanEnabled
* StartConnected
* AllowGuestControl
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-12-15 17:54:52 +05:30
Claes Nästén
b2bc98c161
nso_action for Cisco NSO ( #32781 )
...
nso_action module for execution actions/RPCs in NSO.
2017-12-15 11:29:04 +00:00