Commit graph

28985 commits

Author SHA1 Message Date
chkp-amiads
c52e0e5021 service_icmp module (#61451)
* service_icmp module

* fix example
2019-08-29 09:53:03 +05:30
Chris Archibald
53b2a261de new module: Cloud Volumes for AWS, active Directory (#61342)
* new module

* fixes

* update
2019-08-29 00:21:45 -04:00
chkp-amiads
834746b207 package module (#61439) 2019-08-29 09:51:28 +05:30
chkp-amiads
f687bc0ff3 simple_gateway module (#61388)
* simple_gateway module

* list to dict

* fix indentation issue

fails tests
2019-08-29 09:48:30 +05:30
chkp-amiads
a88436decd service_sctp module (#61386)
* service_sctp module

* list to dict

* fix example
2019-08-29 09:47:00 +05:30
Daniel Mellado
0746ae8b37 Limit config fetch on junos_l3_interfaces (#61219)
This commit adds a filter in junos_l3_interfaces so it limits the amount
of configuration fetched from the remote device.
2019-08-29 09:46:15 +05:30
chkp-amiads
a54b78c67a verify_policy module (#61455) 2019-08-29 09:43:34 +05:30
chkp-orso
311ab5e4f8 put_file module (#61479) 2019-08-29 09:41:37 +05:30
chkp-orso
c42ebf227c time module (#61477) 2019-08-29 09:40:52 +05:30
Milan Zink
183e6b9a84 New module - na_ontap_ldap_client (#59713)
* New module - na_ontap_ldap_client

* Fixing module example usage

* Fixing module documentation - ansible-test sanity

* Fulfile merge request comments

- required_if used for options
- 'client_config' option renamed to 'name'
- docstring updated
- imports placed according to Ansible module best practices

* create an ems log event for users with auto support turned on

* Fix required_if state=present options
2019-08-29 00:06:36 -04:00
Chris Van Heuveln
f890c9692f nxos_bfd_interfaces: new module (#61407)
* bfd_interfaces: initial commit

* fix state methods, add more UT

* Add integration tests, support for N6K

* minor comment cleanups

* lint 1

* lint 2

* lint 3

* lint 4

* lint 5

* retrigger shippable

* retrigger shippable

* PR review updates: /bfd_echo/echo/, updated tests

* fix overridden logic and integration test
2019-08-29 09:36:10 +05:30
chkp-orso
7e9b02df39 access_layer module (#61373)
* access_layer module

* list to dict
2019-08-29 09:35:08 +05:30
Milan Zink
7482d21737 New module - na_ontap_ldap (#59718)
* New module - na_ontap_ldap

* Fixing module documentation - ansible-test sanity

* Fulfil merge request changes from comments

- 'client_config' option renamed to 'name'
- docstring updated
- imports placed according to Ansible module best practices

* Fixed docstring typo + netapp_utils.ems_log_event added
2019-08-29 00:04:48 -04:00
chkp-orso
ca12d53463 administrator module (#61286)
* administrator module

* fix examples that the list param will apear with '-' instead of '_'

* add '-'

* update examples

* list to dict
2019-08-29 09:33:56 +05:30
chkp-orso
0b8da42757 application_site_category module (#61288)
* application_site_category module

* add '-'

* update examples

* list to dict
2019-08-29 09:30:36 +05:30
chkp-orso
723b955e95 threat_protection_override module (#61481) 2019-08-29 09:29:52 +05:30
Milan Zink
51e696cecf Improving na_ontap_command module (#60471)
* Improving na_ontap_command

- new option 'return_dict': true|false
- module returns parseable dictonary data instead of raw XML output when return_dict: true

* Fix module documentation typo

* Fixing pull request comments

* Python lint

* smaller try blocks
2019-08-28 23:59:04 -04:00
chkp-orso
35ab955885 access_role module (#61282)
* access_role module

* add '-'

* update examples

* list to dict
2019-08-29 09:28:40 +05:30
chkp-orso
a26ff97de6 threat_indicator module (#61278)
* threat_indicator module

* remove _

* add '-'

* update examples

* fix
2019-08-29 09:27:46 +05:30
chkp-orso
7f344b7729 host module (#61277)
* host module

* add '-'

* update examples

* fix
2019-08-29 09:26:11 +05:30
chkp-orso
7b2a52651c service_udp module (#61276)
* service_udp module

* add '-'

* update examples

* fix
2019-08-29 09:22:50 +05:30
chkp-orso
64adad1aa2 service_tcp module (#61275)
* service_tcp module

* add '-'

* update examples

* fix
2019-08-29 09:21:53 +05:30
chkp-orso
19d91f6ee1 group module (#61274)
* group module

* add '-'

* update examples

* fix
2019-08-29 09:21:01 +05:30
chkp-orso
a27711bfeb application_site module (#61287)
* application_site module

* add '-'

* update examples

* list of objects

* fix example
2019-08-29 09:20:21 +05:30
chkp-orso
e7931d8074 access_rule module (#61281)
* access_rule module

* remove :

* fix to pass tests

* don't start line with quote (")

* remove redundant indentation

* return the origin description

* don't start line with quote (")

* enable longer lines, add '-'

*  adding state: present

* update examples

* dict to list

* list to dict

* Update cp_mgmt_access_rule.py

* remove rule_number
2019-08-29 09:18:37 +05:30
chkp-orso
09f4acbe51 threat_rule module (#61280)
* threat_rule module

* remove :

* insert to list

* remove redundant indentation

* Revert "insert to list"

This reverts commit de08dfdf32.

* enable longer lines, remove present, add '-'

* state: present

* update examples

* list to dict

* remove rule_number
2019-08-29 09:16:50 +05:30
Miguel Angel Muñoz González
86aab259fc Minor bug fixes - 3 (#61458) 2019-08-29 09:16:06 +05:30
Chris Archibald
9f006dd8c7 new module netapp csv pools for aws (#61340)
* new module cvs pools

* fixes

* updates

* fixes

* fixes

* fixes
2019-08-28 23:30:45 -04:00
Chris Archibald
4879cf8fff new module: Cloud Volume for AWS FileSystems (#61343)
* new module"

* fixes

* updates
2019-08-28 23:02:15 -04:00
James Cammarata
51b33b79c0
T woerner max concurrent (#60702)
* play, block, task: New attribute forks

With this it is possible to limit the number of concurrent task runs.
forks can now be used in play, block and task. If forks is set in different
levels in the chain, then the smallest value will be used for the task.

The attribute has been added to the Base class as a list to easily provide
all the values that have been set in the different levels of the chain.

A warning has been added because of the conflict with run_once. forks will
be ignored in this case.

The forks limitation in StrategyBase._queue_task is not used for the free
strategy.

Signed-off-by: Thomas Woerner <twoerner@redhat.com>

* Handle forks in free strategy

The forks attribute for the free strategy is handled in run in the free
StrategyModule. This is dony by counting the amount of tasks where the uuid
is the same as the current task, that should be queued next. If this amount
is bigger or equal to the forks attribute from the chain (task, block,
play), then it will be skipped to the next host. Like it is also done with
blocked_hosts.

Signed-off-by: Thomas Woerner <twoerner@redhat.com>

* Test cases for forks with linear and free strategy

With ansible_python_interpreter defined in inventory file using
ansible_playbook_python.

Signed-off-by: Thomas Woerner <twoerner@redhat.com>

* Changing forks keyword to throttle and adding some more docs
2019-08-28 18:47:39 -05:00
Matt Davis
7d1a981b61
default collection support (#61415)
* default collection support

* playbooks run from inside a registered collection will set that collection as the first item in the search order (as will all non-collection roles)
* this allows easy migration of runme.sh style playbook/role integration tests to collections without the playbooks/roles needing to know the name of their enclosing collection

* ignore bogus sanity error

* filed #61460

* fixed task unit test failure

* don't append an empty collections list to the ds

* ignore leftover local_action in mod_args ds action parsing

* fix async_extra_data test to not require ssh and bogus locale

* disable default collection test under Windows

* ensure collection location FS code is always bytes

* add changelog
2019-08-28 16:31:40 -07:00
robertchung
caa5abdfc9 Fix TypeError in ec2_group.py for Python3 when sorting dictionary list (#59844)
* Fix TypeError in ec2_group.py for Python3 when sorting dictionary list

* Using json.loads() and dumps() to replace sorting

* Bug fixes for ec2_group.py

* Dictionaries cannot be compared/sorted in Python3

* Diff will occur when the IpPermissions have the same IpRanges but have different ordering

* 'before' will be sorted by 'Type' with high priority than 'IP', but 'boto3.describe_security_groups()' function cannot get 'Type' from Amazon

* Add some basic diff mode testing to exercise the rule-sorting code
2019-08-28 16:28:42 -07:00
Milan Zink
7ff7ce0123 New storage/netapp module - na_ontap_kerberos_realm (#59923)
* New module na_ontap_kerberos_realm

* Copyright updated

* Unit test for modules + fixed required_if parameters issue

* reverting state=modify

* fixing test

* Fixing imports section
2019-08-28 18:03:45 -04:00
Matt Clay
8521474f06 Revert "maven_artifact.py - add support for version ranges by using spec (#54309)"
This reverts commit 145a6a8756.
2019-08-28 14:41:11 -07:00
Chris Trufan
44c18b544f Addition of ECS_Certificate Module (#60883)
* Addition of ecs_certificate module.

* Documentation and code fixes

* Updates per code review

* Doc fixes, rename of chain_path to full_chain_path, add regex for cert_Expiry check

* Fixes to pep8 check to make regexp string 'raw'.

* Mistakes with find/replace of caseing.

* Added integration tests and some doc cleanup

* Some additional assertions and test typo cleanup

* Update lib/ansible/modules/crypto/entrust/ecs_certificate.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Responses to code review comments

* Remove fake passwords from aliases file.
2019-08-28 23:38:48 +02:00
Nathan Swartz
1d9b473e56 Add netapp_e_firmware module (#59529)
* Add na_santricity_firmware module.

Manages NetApp E-Series firmware upgrades.
Includes unit and integration tests.

* Add legacy support to na_santricity_firmware module.

* Rename na_santricity_firmware to netapp_e_firmware

* Improved netapp_e_firmware example documentation.
2019-08-28 17:17:35 -04:00
Nathan Swartz
f02a62db50 Add netapp_e_drive_firmware (#59528)
* Add na_santricity_drive_firmware module

Manage NetApp E-Series drive firmware downloads
Includes unit and integration tests

* Rename na_santricity_drive_firmware to netapp_e_drive_firmware
2019-08-28 17:15:19 -04:00
Adrian Likins
af01cb114c
Support galaxy v3/autohub API in ansible-galaxy (#60982)
* Add galaxy collections API v3 support

Issue: ansible/galaxy-dev#60

- Determine if server supports v3

Use 'available_versions' from `GET /api`
to determine if 'v3' api is available on
the server.

- Support v3 pagination style

ie, 'limit/offset style', with the paginated
responses based on https://jsonapi.org/format/#fetching-pagination

v2 galaxy uses pagination that is more or less
'django rest framework style' or 'page/page_size style',
based on the default drf pagination described
at https://www.django-rest-framework.org/api-guide/pagination/#pagenumberpagination

- Support galaxy v3 style error response

The error objects returned by the galaxy v3 api are based
on the JSONAPI response/errors format
(https://jsonapi.org/format/#errors).

This handles that style response. At least for publish_collection
for now. Needs extracting/generalizing.

Handle HTTPError in CollectionRequirement.from_name()
with _handle_http_error(). It will raise AnsibleError
based on the json in an error response.

- Update unit tests

update test/unit/galaxy/test_collection*
to paramaterize calls to test against
mocked v2 and v3 servers apis.

Update artifacts_versions_json() to tale an
api version paramater.

Add error_json() for generating v3/v3 style error
responses.

So now, the urls generated and the pagination schema
of the response will use the v3 version if
the passed in GalaxyAPI 'galaxy_api' instance
has 'v3' in it's available_api_versions

* Move checking of server avail versions to collections.py

collections.py needs to know the server api versions
supported before it makes collection related calls,
so the 'lazy' server version check in api.GalaxyAPI
is never called and isn't set, so 'v3' servers weren't
found.

Update unit tests to mock the return value of the
request instead of GalaxyAPI itself.
2019-08-28 16:59:34 -04:00
Miguel Angel Muñoz González
f9b0ab774f Minor bug fixes - 3 (#61461) 2019-08-29 01:33:07 +05:30
Miguel Angel Muñoz González
a1d997cacb Minor bug fixes - 5 (#61462) 2019-08-29 01:19:25 +05:30
Felix Fontein
59ab4d9307
oVirt: rename _facts -> _info (#61299)
* Rename oVirt _facts -> _info

* Adjust PR #.

* Forgot update BOTMETA / ignore.txt for doc fragment.

* Compatibility for 3rd-party modules using module_utils or info doc fragment.

* Update note.

* Fix/improve docs.

* Update lib/ansible/modules/cloud/ovirt/ovirt_event_info.py

Co-Authored-By: Sloane Hertel <shertel@redhat.com>

* Fix variable.

* Fix return value documentation for ovirt_external_provider_info.
2019-08-28 21:01:46 +02:00
Yariv Amar
645fe296bd improve list paremeter description. (#60948)
* improve list option description.
2019-08-28 14:52:22 -04:00
Miguel Angel Muñoz González
08c7c6c204 Minor bug fixes - 1 (#61456) 2019-08-28 23:57:45 +05:30
Miguel Angel Muñoz González
b47a291d43 Minor bug fixes - 6 (#61464) 2019-08-28 23:30:23 +05:30
Miguel Angel Muñoz González
35c0782b50 Minor bug fixes - 1 (#61454) 2019-08-28 23:29:21 +05:30
Ujwal Komarla
5e200f2d0a Resource Module for exos_lldp_global (#60988)
* Model->Role->Module.
Yet to import modules/exos_facts.py

* exos_facts refactor

* future-import and metaclass

* Fix unit tests

* Fix openconfig-lldp word and send_request API from Httpapi class

idempotent, json.dumps in base class, send_requests from base exos class

* action file for exos_lldp_global

* Add intergration tests for exos_lldp_global

* Test data field of the request
2019-08-28 13:58:45 -04:00
Nathaniel Case
841d204d0d
Fixes #61244 (#61432) 2019-08-28 13:53:33 -04:00
The Magician
b20bfc1048 Bug fixes for GCP modules (#61359) 2019-08-28 13:43:57 -04:00
Pavel Holica
89744b72d3 os_image_facts: add ability to filter Openstack images based on properties 2019-08-28 13:43:09 -04:00
Sam Doran
58edfec145
Add listen_port_facts module (#61463)
Co-authored-by: Nathan Davison <ndavison85@gmail.com>
2019-08-28 13:16:13 -04:00
Nathaniel Case
a7a053defc
New module eos_lacp_interfaces (#61349)
* Prepare for lacp_interfaces.

* Import module from builder

* Implement facts

* Implement config

* Add tests
2019-08-28 13:06:45 -04:00
Diane Wang
d987dca2b1 VMware: vmware_guest_screenshot module fix get_parent_datacenter issue (#60626)
Fix get_parent_datacenter not found issue, and change "local_path" parameter to "path" type.

closes: #60565
2019-08-28 13:04:30 -04:00
Giovanni Geraci
dd3c5500e1 filename attribute (#61426)
Adds missing return key/value 'filename' to the win_find module documentation
2019-08-28 11:35:57 -05:00
chkp-orso
3e0891ed39 assign_global_assignment module (#61290)
* assign_global_assignment module

* add short description

* add '-'
2019-08-28 21:59:30 +05:30
chkp-orso
e0243520dd address_range module (#61273)
* adress_range module

* adding '-'

*  adding state: present

* update example

* list to dict
2019-08-28 21:53:51 +05:30
chkp-orso
1c5a44340e publish module (#61312) 2019-08-28 21:46:58 +05:30
chkp-orso
c3d37f39b7 Checkpoint Network module (#61309)
* network module

* delete cp_network, cp_network_facts, and change test_cp_network to match the new network module

* Update ignore.txt

* adding state: present

* update example

* list to dict

* Update test_cp_mgmt_network.py

* remove white-space
2019-08-28 21:46:05 +05:30
Nathan Swartz
8ebed4002f Add tray/drawer loss protection preference and integration tests to netapp_e_storagepool module. (#60151) 2019-08-28 12:02:46 -04:00
Yannis Ansermoz
076726aa08 Typo in example for ios_l2_interface - allow_vlans (#61366) 2019-08-28 12:00:08 -04:00
Nathaniel Case
95ecf24b87
New module eos_lldp_interfaces (#61341)
* Prepare existing files for lldp_interfaces

* Initial commit of scaffolding

* Implement facts

* Implement config

* Add tests

* Appease Shippable
2019-08-28 11:56:43 -04:00
Chris Archibald
49cff3d4a6 New options to Interface (#60499)
* update to interface

* force ansibot to run again

* fixes
2019-08-28 11:45:15 -04:00
Chris Archibald
c6710ebf6b Auto support logs were not being created (#60901)
* Auto support logs were not being created

* fixes
2019-08-28 11:23:54 -04:00
Don Yao
7a1237781d Files from PR#60621, continue working on fortios_facts modules (#61405)
* Files from PR#60621, continue working on fortios_facts modules

* PR#61405 unit test module test_fortios_facts.py

* sanity fixed in test_fortios_facts unit test module
2019-08-28 19:58:41 +05:30
Ujwal Komarla
add33ccbdc Fix exos_facts httpapi (#61198) 2019-08-28 10:24:45 -04:00
anas-shami
f4fa4e4e0e Feature/onyx wjh upstream (#61269)
* support wjh module config with testing file

* Fix version, fix enable/disable all groups

* refactor get current group status

* fix indentation and change command_generate function, add test cases and check them

* Update onyx_wjh.py

fix description

* Update onyx_wjh.py

remove extra spaces, add type to choices after run validate-modules

* fix format string - pytest use 2.6.6 format function

* Remove unused imports

* chenge onyx_wjh file permessions

* Fix version, fix enable/disable all groups

* fix indentation and change command_generate function, add test cases and check them

* support wjh module config with testing file

* Fix version, fix enable/disable all groups

* refactor get current group status

* fix indentation and change command_generate function, add test cases and check them

* Update onyx_wjh.py

fix description

* Update onyx_wjh.py

remove extra spaces, add type to choices after run validate-modules

* fix format string - pytest use 2.6.6 format function

* fix format string - pytest use 2.6.6 format function

* chenge onyx_wjh file permessions
2019-08-28 19:41:56 +05:30
Jill R
8d167bdaef Deprecate alias 'thirsty' from all usages (#61245)
* Deprecate alias 'thirsty' from all usages

Fixes: #61236

* Now with added version quoting

* Handle deprecated aliases in mod_utils

* Make alias deprecation a subkey of the canonical arg, and not a separate argument
2019-08-28 08:27:08 -05:00
sushma-alethea
73767778e0 icx: new module icx_lldp (#61310)
* new module

* icx_cliconf

* icx test units module

* icx units module

* added notes

* new changes

* new module

* new fix

* new changes

* new fixes

* new changes

* Rebase
2019-08-28 18:26:31 +05:30
Jordan Borean
a95f9c6640
Win setup processor (#61425)
* Fix incorrect processor information

Fixes Issue #45869 
Windows Processor Information Incorrect from Setup

* set ansible_processor as list of all cores and threads (mirroring POSIX facts)

* change to $win32_cs.NumberOfLogicalProcessors to calculate $cpu_list

* Simplify vcpus count source

Co-authored-by: Jesse Kaufman <jesse.kaufman@gmail.com>
2019-08-28 21:29:10 +10:00
smile37773
161c1ce17e Rename Azure modules: "facts"->"info" (#61417)
* rename

* add symlink

* add the log

* fix the ignore file

* fix

* fix
2019-08-28 19:01:10 +08:00
Andrey Klychkov
a6f6256a0a new module postgresql_publication (#59439)
* new module postgresql_publication: initial commit

* new module postgresql_publication: add seealso section

* new module postgresql_publication: fix RETURN section, fix typo

* new module postgresql_publication: add __exec_sql method

* new module postgresql_publication: fix typos

* new module postgresql_publication: fix typos

* new module postgresql_publication: fix typos
2019-08-28 10:24:59 +02:00
Miguel Angel Muñoz González
da762018e8 FortiOS modules for 2.9 - 11 (#61387) 2019-08-28 13:24:59 +05:30
Zim Kalinowski
bf108ee7bf
Adding snapshot module (#61418)
* adding snapshot module

* adding snapshott module

* updates

* updates

* positional args
2019-08-28 14:17:40 +08:00
Ganesh Nalawade
768dbe5490
Add support for network_cli connection retry (#61103)
* Add support for network_cli connection retry

*  Add network_cli connection configuration option
   to allow retrying the connection initialization
   with remote host.

* Add docs

* Fix test failures

* Fix review comments
2019-08-28 09:46:42 +05:30
sushma-alethea
ee3e8704e8 icx: new module icx_interface (#60037)
* new module

* new module

* new module

* new terminal

* new terminal

* new terminal

* new terminal

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* icx banner unit test

* PR changes resolved

* PR changes resolved

* changes resolved

* changes resolved

* Changes Resolved

* Changes Resolved

* check_running_config changes resolved

* check_running_config changes resolved

* check_running_config changes resolved

* added notes

* added notes

* new changes

* PR comments resolved

* new module icx_interface

* new module icx_interface

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* notes updated

* Update icx.py

* Whitespace error
2019-08-28 09:03:50 +05:30
sushma-alethea
746acccc64 Branch icx l3 interface new (#61363)
* new module

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* added notes

* new changes

* New branch to prevent complex rebase

* Rebase had problems
2019-08-28 08:59:57 +05:30
Eric Anderson
6ee61f28da added gcp_storage_file lookup plugin (#56754)
* added gcp_storage_file lookup plugin

* updated to remove shebang and clean header

* clean header
2019-08-27 19:12:36 -07:00
Matt Clay
f510d59943
Support relative imports in AnsiballZ. (#61196) 2019-08-27 18:11:21 -07:00
Ruben-Bosch
5549788c8d win_updates: Add flag to only download updates without installing them (#58631)
* win_updates: Add flag to only download updates without installing them

* Fix test

* Fixes ansible-test (pep8)

* Fix integration test

* Fix actual fix.
2019-08-28 09:46:59 +10:00
Shachaf92
03bbba4a9f win modules - standarize regex and regxp as alias (#59037)
* win modules - standarize regex  and regxp as alias

* Changes to reflect desired state

* Update parameter names of funtions

* Update main.yml

* Update win_lineinfile.py

* Update win_wait_for.py
2019-08-28 09:38:23 +10:00
Jordan Borean
66f52b74b1 Change collection PS util import pattern (#61307)
* Change collection PS util import pattern

* Add changes for py2 compat

* fix up regex and doc errors

* fix up import analysis

* Sanity fix for 2.6 CI workers

* Get collection util path for coverage collection
2019-08-27 16:02:27 -07:00
Brian Scholer
eaa6848932 Allow password to be null in Scheduled Task for gMSA (#60990)
* Allow password to be null in Scheduled Task for gMSA

* Remove test for removed password validation, linting fixes
2019-08-28 08:44:45 +10:00
Simon Dodsley
0914cdb345 New module to allow two FlasArrays to connect ready for replication (#60293) 2019-08-27 18:32:12 -04:00
Simon Dodsley
2abbc136b1 New module to manage SNMP managers in Pure Storage FlashArray (#59203) 2019-08-27 18:32:00 -04:00
Simon Dodsley
8d8f501968 New module for Pure Storage FlashBlade Remote Assist control (#59261) 2019-08-27 18:31:56 -04:00
sergioirium
e186329ee5 Added Notes (#61315)
##### SUMMARY
<!--- Your description here -->


##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
2019-08-28 08:15:30 +10:00
Simon Dodsley
21f0c0f42f Change references to ansible_facts (#61353) 2019-08-27 18:00:25 -04:00
Simon Dodsley
948023176e Changes references to ansible_facts (FA_RA) (#61355) 2019-08-27 18:00:12 -04:00
Simon Dodsley
05afc28d08 Changes references to ansible_facts (FB_S3USER) (#61356) 2019-08-27 18:00:01 -04:00
Simon Dodsley
a09d1e038d New module to set SMTP config for Pure Storage FlashArray (#58899) 2019-08-27 17:45:17 -04:00
Simon Dodsley
ff94dedf19 New module to set alert email addresses for Pure Storage FlashArray (#57864) 2019-08-27 17:44:55 -04:00
Simon Dodsley
c2f468552d New module for SMTP configuration on Pure Storage FlashBlade (#59270) 2019-08-27 17:44:24 -04:00
Simon Dodsley
f4d336cf1f New module to manage volume groups on Pure Storage FlashArray (#58854) 2019-08-27 17:44:04 -04:00
Yuwei Zhou
41778a8e12 Add azure resource lock module (#55700)
* add locks

* rename the module

* add test

* add test

* address comments

* add quote

* can list child scope lock

* minor docs tweaks

* Add files via upload (#62)

* change '\r\n' to '\n' (#63)

* Small changes, just to trigger CI verify.

* trigger CI verify

* remove 's'

* Update according by comments

* change small for trigger CI check
2019-08-28 05:35:12 +08:00
smile37773
31a1eadab2 Add the azure_rm_azurefirewall_info module (#58697)
* add the info module of azure firewall

* fix the format_item()

* add the test

* fix the indented line

* fix

* fix the test

* change the test file
2019-08-28 05:23:29 +08:00
Felix Fontein
c9a9bd9d64
OneView: rename _facts -> _info (#61208)
* Rename OneView _facts modules -> _info

* Adjust PR #.

* Forgot to update test names.

* Remove superfluous blank line.

* Some more things from review.
2019-08-27 23:21:40 +02:00
Eric Anderson
758c63e4fb added gcp_kms filters filter plugin (#56755)
* added gcp_kms filters filter plugin

* update filter header

* remove requests
2019-08-27 14:09:18 -07:00
Jordan Borean
faaa669764
PowerShell - Added coverage collector (#59009)
* Added coverage collection for PowerShell - ci_complete ci_coverage

* uncomment out coverage uploader call

* Generate XML for PowerShell coverage

* Use whitelist to exclude coverage run on non content plugins

* Remove uneeded ignore entry

* Try to reduce diff in cover.py

* Fix up coverage report package - ci_complete ci_coverage
2019-08-28 07:03:23 +10:00
smile37773
5438013191 Rename Azure modules: facts -> info (#60987) 2019-08-28 04:44:57 +08:00
Felix Fontein
2db4e044ab smartos_image_facts: rename to smartos_image_info (#60915)
* Rename smartos_image_facts -> smartos_image_info

* Add changelog.
2019-08-27 16:43:10 -04:00
Felix Fontein
e176023c6b Scaleway: rename _facts -> _info (#61095)
* Rename scaleway _facts -> _info

* Add changelog.

* Improve docs.
2019-08-27 16:39:24 -04:00
Felix Fontein
185a1fcb07 Online: rename _facts -> _info (#61091)
* Rename online _facts -> _info

* Add changelog.
2019-08-27 16:36:55 -04:00
Kevin Breit
489156378c Meraki - Enable API call rate limiting for requests (#54827)
* Initial commit for rate limiting
- Detects if error code is 429
- Pauses for random time between .5 and 5 seconds before retrying
- If it fails 10 times, give up and tell user

* Redo structure of request() to support rate limiting

* Hold down timer is now a sliding scale
- 3 * number of retries
- Fails after the 30 second wait

* Whitespace fixes

* Redo implementation using decorators
- Errors aren't tested but code works for regular calls

* Unit tests work for error handling

* Add integration tests for successful retries

* Add condition for 502 errors and retry

* Move _error_report out of the class

* PEP8 fixes

* Add changelog entry
2019-08-27 16:32:09 -04:00
Paul Belanger
5ee81338fc
Remove unused import in junos/utils/utils.py (#61384)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-27 15:56:39 -04:00
Paul Belanger
5a60bdd308
Remove unsed / duplicate imports for iosxr module_utils (#61385)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-27 15:55:31 -04:00
Felix Fontein
1906c05348
vertica_facts: rename to vertica_info (#60916)
* Rename vertica_facts -> vertica_info

* Add changelog.

* Fix porting guide.
2019-08-27 21:28:36 +02:00
thetriforce
0696fcacf0 Update _ios_l2_interface.py (#61401)
Add support for TwoGigabitEthernet switchports in IOS-XE
2019-08-28 00:51:15 +05:30
Nathaniel Case
e8586114ad
Move instantiation of terminal plugin earlier (#61261)
* Move instantiation of terminal plugin earlier

* Move test for invalid network_os to where the failure now lives
2019-08-27 14:33:05 -04:00
Nilashish Chakraborty
36f4af203c
Add iosxr_lag_interfaces resource module (#61303)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-08-27 23:01:05 +05:30
Strahinja Kustudic
a213b9160c Fix extended loop_control with includes (#61231)
* Fix extended loop_control with includes

* Use assert for testing extended loop_control

* fix typo
2019-08-27 12:09:56 -05:00
Jack Parsons
80b73712a9 Template value of debugger and then check for validity (#53587)
* Template value of debugger and then check for validity

* Removed if/else and forcing failure on undefined as per comments

* Added changelog

* changed colon to brackets so it appears as a string
2019-08-27 12:02:26 -05:00
aperigault
c1c6e9f008 Add kernel version in ansible facts (#40069) 2019-08-27 11:57:44 -05:00
Ahmed Hassan
b47988a8a4 Added more explanation to keypair. (#52766)
* Added more explanation to keypair. 

<!--- Your description here -->

+label: docsite_pr

* Update ec2.py

* Update ec2.py
2019-08-27 11:25:52 -05:00
ygelfand
36b7baca4d getent - add service support(#60295) 2019-08-27 11:58:37 -04:00
Felix Fontein
c91929b2b3 OpenStack: rename _facts -> _info (#61197)
* Rename openstack _facts -> _info

* Add new module names to module_defaults.yml.
2019-08-27 11:50:14 -04:00
Miguel Angel Muñoz González
5e4e32b45e FortiOS modules for 2.9 - 10 (#61367)
* FortiOS modules for 2.9 - 10

* Fortios User Device was wrongly set to 2.8 instead of 2.9

* Retriggering shippable due to random failure
2019-08-27 21:07:39 +05:30
Jason Lee
9f8a0f4ace Added vserver to lun_info field to ensure unique LUN dict keys (#61357) 2019-08-27 11:14:59 -04:00
Jordan Webb
27cac742ca Fix pipelining in buildah connection plugin (#59745)
* Fix pipelining in buildah plugin

* Add changelog fragment
2019-08-27 10:11:47 -04:00
sig9org
b563f7f880 Add aci_l3out_extsubnet.py (#58087)
* Add aci_extsubnet.py

* Fix aliases of network option

* Shorten the sentence

* Rename to aci_l3out_extsubnet

As suggested during review.

* Rename module
2019-08-27 15:55:46 +02:00
Derrick Johnson
f3bde056b5 aci_maintenance_group_node - Fix "target_filter" (#58675)
* aci_maintenance_group_node - Fix "target_filter"

##### SUMMARY
Fixes target_filter issue that causes the module to fail.

##### ISSUE TYPE

* Use the correct target_filter syntax

So we did not just rename `filter_target` to `target_filter`, the content is also different.
2019-08-27 15:10:47 +02:00
Chris Archibald
36add6e86f New Module: na_ontap_ndmp (#59815)
* new module

* fixes

* fixes

* fix unit tests

* update tests

* fixes
2019-08-27 09:06:59 -04:00
Chris Archibald
0e906b0865 bug fixes for group (#60887)
* bug fixes for group

* trigger rebuild

* fixes
2019-08-27 09:05:20 -04:00
Nathan Swartz
37dd373c6b Volume dev upstream new options (#59660)
* Add controller ownership and cache without batteries option

* Add unit test for new netapp_e_volume options

* Add integration tests for netapp_e_volume module.

* Changed default read_ahead_enable option to true in netapp_e_volume module.

* Fix off-segment aligned volume size in netapp_e_volume module.
2019-08-27 09:04:02 -04:00
Andrey Klychkov
61a2dab2ff postgresql modules: add seealso section (#61368) 2019-08-27 13:20:34 +01:00
jasonjuenger
dfd1b29777 Add aci_vmm_credential.py (#60910)
* add module to create aci VMM credential objects
add initial remove and add integration tests for VMM credential objects

* update 'credential' var name to 'name'

* move vmware tests to domain type specific file

* move vmware tests to domain type specific file
add include task in main file to reference domain type specific tests

* update task names
add test to remove credential prior to first credential add
add tests for querying individual credentials
add tests for query all credentials
add additional tests for removing credentials

* update version added to 2.9
remove invalid module references from 'seealso' section

* fix list reference in query all assertions

* add reference to VM_PROVIDER_MAPPING keys for vm_provider arg
2019-08-27 14:08:24 +02:00
Sumit Jaiswal
b53bc94cc5
Resource module for iosxr_l2_interfaces (#59964)
* iosxr_l2 resource
2019-08-27 17:20:47 +05:30
Nirav Katarmal
dbd3ace53e added resources to associate domain to EPG (#60571) 2019-08-27 13:41:13 +02:00
Don Yao
d77697e4d5 FortiOS System Fimrware Upgrade Module (#59213)
* FortiOS System Fimrware Upgrade Module

* default timeout 12 seconds is not enough for large firmware or slow connection, increase it to 300 seconds

* update fortios system firmware upgrade module together with unit test

* minor updates based on the new templates

* minor updates and remove fortiosapi dependency in unit test module

* add author, remove unused method, fix descriptions, apply some sanity fixes
2019-08-27 15:58:07 +05:30
Miguel Angel Muñoz González
e62fb1e2f9 FortiOS modules for 2.9 - 9 (#61320)
* FortiOS modules for 2.9 - 9

* Undo ignore file

* Remove non valid identifiers

* Leave fortios_switch_controller_lldp_profile and fortios_switch_controller_managed_switch out of this PR

* Updated fortios_switch_controller_lldp_profile and fortios_switch_controller_managed_switch
2019-08-27 15:57:34 +05:30
Simeon Filipov
0074fa5672 Fix typo in postgresql_privs.py (#61365)
##### SUMMARY
Change 'default_prives' to 'default_privs'


##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
2019-08-27 06:05:39 -04:00
Rohit
b24e1c0077
lag config changes (#61361)
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
2019-08-27 15:26:12 +05:30
Adharsh Srivats R
ee05d6bde2 Added nxos_lldp_global resource module (#60072)
* Added nxos_lldp_global module

Tests

Correction

remove q

* Added tests

* Corrections

Changes

Last few changes please

Final

Finall

Finalll

* Key error and punctuation changes

* .gitignore edit

* Facts file edit

* Changed facts collection and 'replaced' state

Changed facts collection and replaced state

Changed facts collection and replaced state

* Spacing and module error correction

* return facts as empty dict not list

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-27 14:52:24 +05:30
Andrey Klychkov
233a3088f4 postgresql_db: add seealso section (#61360) 2019-08-27 09:11:09 +02:00
Andrey Klychkov
cca95e323d postgresql_copy: add seealso section (#61314) 2019-08-27 09:10:59 +02:00
Don Yao
c0046e7f52 adding 3 new methods, get to retrieve configurational data, monitor to retreieve operational data, execute to perform action (#61331) 2019-08-27 12:24:07 +05:30
rajaspachipulusu17
adb8a0ddc6 Pluribus Networks log audit exception module with unit test cases (#60456)
* Pluribus Networks log audit exception module with unit test cases

* Documentation fix
2019-08-27 11:31:54 +05:30
rajaspachipulusu17
e7cb2ddc9c Pluribus Networks vtep module with unit test cases (#60455) 2019-08-27 11:26:13 +05:30
Ganesh Nalawade
2a13ad7adf
Fix junos resource modules group based config and minor updates (#61224)
* Fix junos resource modules group based config and minor updates

Fixes https://github.com/ansible/ansible/issues/61183

*  Add support to get inherited configuration for resource
   modules to handle group based configuration
*  Add task input check for merged, replaced and overridden
   states in junos resource modules
*  Integration test for group based configuration

* Fix CI test failures

* Fix test failures
2019-08-27 11:06:06 +05:30
Simon Dodsley
f2c4875fbe Remove unnecessary code (#61350) 2019-08-27 01:27:59 -04:00
Yuwei Zhou
b4732dd2e6 Support Azure IoT hub and related module (#55121)
* Support iothub creation

* raise errordetailexception rather than clouderror

* add facts

* change requirement

* compare endpoint

* add documentation

* add documentation

* add iot device facts

* modify line ending

* add auth method

* add iot module

* add consumer group

* add the test

* enhencement of  doc

* add list consumer groups

* fix lint

* fix lint

* fix doc

* fix doc

* Update auzre_rm_iothub related document

* changed paramter's type

* update type

* rename facts -> info

* fixed sanity

* missed during merge
2019-08-27 13:18:28 +08:00
Fortinet Core CSE NA
6fb7073adc Fortinet: FortiAnalyzer Plugin and Module Utils and FAZ_DEVICE update. (#58882)
* FortiAnalyzer Plugin and Module Utils and FAZ_DEVICE update.

* Updated Version Added for plugin.

* Removed stray characters (new keyboard... leaned on a key to hard...). DOH!

* Minor fix to documentation

* Added __metaclass__ = type per Sanity/1 test failure of last test.

* Minor PEP8... should be last one

* Same PEP8 Fix for Common...

* Minor change to kick off another shippable after an obscure OS X error.

* Last Shippable showed "unstable" but didn't give any other reasons. Kicking off YET ANOTHER.

* Once again, shippable is erroring on unrelated issues and modules. Minor Docs change to kick it off again.

* Shippable, again, failed to find the commit. Minor doc change to kick it off again.

* Small doc change to kick off shippable. A single test is ending up "unstable" for RHEL...
2019-08-27 10:22:42 +05:30
sushma-alethea
b09db0ba9e icx: new module icx_user (#60007)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_user

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* changes

* changes

* new fixes

* new changes

* notes updated
2019-08-27 09:25:56 +05:30
frankshen01
a68d91d0a7 Fortinet's new module for fortios_wireless_controller_hotspot20_hs_profile (#61163)
* Fortinet's new module for fortios_wireless_controller_hotspot20_hs_profile

* Update fortios_wireless_controller_hotspot20_hs_profile.py and test_fortios_wireless_controller_hotspot20_hs_profile.py
2019-08-27 09:24:28 +05:30
sushma-alethea
b6290e1d15 icx: new module icx_logging (#60036)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_logging

* new fixes

* new fix

* new fix

* new fix

* new changes

* notes updated
2019-08-27 08:58:32 +05:30
sushma-alethea
b6e71c5ffb icx: new module icx_copy (#59920)
* new cliconf

* cliconf

* icx cliconf
* icx test units module

* icx units module
* icx banner unit test

* PR changes resolved

* check_running_config changes resolved
* added notes

* removed icx rst

* deleted icx rst

* icx .rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

* new module icx_copy

* notes updated
2019-08-27 08:57:31 +05:30
sushma-alethea
fb1094f38d icx: new module icx_system (#60024)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_system

* new changes

* new changes

* new changes

* Fixed bot bugs

* notes updated
2019-08-27 08:55:46 +05:30
sushma-alethea
d2429cbd6a icx: new module icx_vlan (#59985)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_vlan

* new changes

* new fixes

* new fixes

* new fixes

* new fixes

* new fixes

* new fixes

* Fixed bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot errors

* notes updated
2019-08-27 08:31:17 +05:30
Yuwei Zhou
1c06b302bc Support automation account managment (#56429)
* add automation account

* add test

* update sdk version

* fix doc

* Update azure_rm_automationaccount.py

* Update azure_rm_automationaccount_facts.py

* Update main.yml

* add type define (#64)

* add new (#67)

* change 'example' to 'sample'

* changed 'path' to 'ID'
2019-08-27 07:38:47 +08:00
claudioiuliano
ab559c4629 Remove 'network-interface' for tag_specifications (#53398)
* Remove 'network-interface' for tag_specifications

https://github.com/aws/aws-cli/issues/2865

* changelog
2019-08-26 19:37:00 -04:00
Bruno Meneguello
954416932a route53: optimize zone_id lookup when hosted_zone_id is provided (#60437) 2019-08-26 16:21:17 -07:00
Yunge Zhu
749662d776 add azure monitor log profile module (#54702)
* add azure monitor log profile module

* fix version

* fix lint

* mark test as unsupported

* fix lint

* fix lint

* Fix the error prompted in the comments
2019-08-27 05:00:28 +08:00
Yunge Zhu
b335303471 fix keyvault secret bug (#60754)
* fix keyvault secret bug

* remove unexpected spaces
2019-08-27 04:56:54 +08:00
The Magician
aa5a221ddc Bug fixes for GCP modules (#61094) 2019-08-26 15:04:52 -04:00
The Magician
1631554c1b Bug fixes for GCP modules (#61251) 2019-08-26 15:04:24 -04:00
pratikgadiya12
8ee7d9f598 VMWare - Rename _facts to _info (#57474)
Deprecate vmware's _facts modules and add new modules.

Fixes: #57278
2019-08-26 14:45:34 -04:00
Felix Fontein
47c2ff4c26
Redfish modules: rename _facts -> _info (#60992)
* Rename redfish_facts -> redfish_info, idrac_redfish_facts -> idrac_redfish_info

* Update porting guide.

* Add changelog.

* Fix metadata.

* Remove copy artefacts.

* Change from deprecate/new module to rename.
2019-08-26 20:42:04 +02:00
The Magician
191aa11483 Bug fixes for GCP modules (#61093) 2019-08-26 13:28:40 -04:00
The Magician
afa84af91d New Module: gcp_kms_key_ring_info (#61099) 2019-08-26 13:28:28 -04:00
Alex Stephen
e5595f1117 gcp_compute refactor (#61249)
* wip

* it works!

* cache should work

* ran black on code

* wip

* now it works

* black
2019-08-26 13:27:44 -04:00
Sumit Jaiswal
30714682c9
Fixes iosxr interfaces zuul failure (#61313)
* fixes 61311

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix loopback

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-08-26 22:25:43 +05:30
Felix Fontein
e536d0e128
openssl_*: deprecate PyOpenSSL backends (#59907)
* Deprecate PyOpenSSL backends.

* Add changelog.

* Add porting guide entry.

* Improve tests to ignore deprecations when comparing results.

* Deprecating pyopenssl backend for get_certificate and openssl_publickey.

* Fix typo.
2019-08-26 18:26:10 +02:00
Felix Fontein
7f4f2506a0
acme_certificate: make compatible to Buypass' ACME v2 testing endpoint (#60727)
* Don't unnecessarily use location from header.

* Add changelog.
2019-08-26 18:19:55 +02:00
Felix Fontein
039123ec6b
acme_account_info: retrieve orders (#59697)
* Add retrieve_orders option.

* Run acme_certificate tests also for acme_account_info; use acme_account_info to get list of orders.

* Doing some quoting.

* Improve returned description.
2019-08-26 18:16:43 +02:00
Felix Fontein
14974f5fc2
openssl_certificate_info: add ocsp_uri return value (#60393)
* Add ocsp_uri return value.

* Add changelog.

* Add integration test.

* Fix rebase error.
2019-08-26 17:42:52 +02:00
Nathaniel Case
a567a3fae0
New module eos_lldp_global (#60975)
* New module eos_lldp_global

* Implement facts

* Implement config, add tests

* Assorted fixes
2019-08-26 11:34:41 -04:00
Joe Clarke
0b284c1431 Cast booleans to strings. (#60544)
This avoids an error when building the API request:

TypeError: Argument must be bytes or unicode, got 'bool'

This would occur when one explicitly sets async_bool or ignore_owners in
a playbook/role.
2019-08-26 11:32:14 -04:00
Milan Zink
7cefef9719 Adding new options to na_ontap_nfs module (#59505)
* Adding new options to na_ontap_nfs module

- nfsv4_fsid_change
- nfsv4_numeric_ids
- nfsv40_referrals
- nfsv41_pnfs
- nfsv41_referrals

* Adding version_added: '2.9' for new options
2019-08-26 10:22:45 -04:00
Josh Edmonds
f62f1ab54c Added comment field to na_ontap_volume module (#59566)
* Added comment field to na_ontap_volume module

* fixed zapi attribute name in create_volume_options(), and fix to ensure comment field can be set back to an empty string
2019-08-26 10:14:39 -04:00
digi
7f06db8211 module_utils/redfish_utils.py: add ForceRestart option (#61104)
The library does not allow you to force a restart via redfish, (unless GracefulRestart
triggered by PowerReboot-command is not supported).
Therefore, I added the option `PowerForceRestart` to be able to force a reboot of an
unresponsive host.
2019-08-26 10:13:09 -04:00
Matt Martz
5941e4c843
Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602)
* Properly JSON encode AnsibleUnsafe, using a pre-processor. Fixes #47295

* Add AnsibleUnsafe json tests

* Require preprocess_unsafe to be enabled for that functionality

* Support older json

* sort keys in tests

* Decouple AnsibleJSONEncoder from isinstance checks in preparation to move to module_utils

* Move AnsibleJSONEncoder to module_utils, consolidate instances

* add missing boilerplate

* remove removed.py from ignore
2019-08-26 09:08:22 -05:00
Sloane Hertel
1d405fdd60
Add module aliases back in hardcoded module_defaults list (#61203) 2019-08-26 10:05:57 -04:00
Chris Archibald
53df4d8186 New options for identity_preserve (#60498)
* new option

* Force ansibot to run again
2019-08-26 10:03:26 -04:00
kvegh
930088da96 Clarifying: no lists in name parameter (#61029)
* Clarifying: no lists in name parameter
2019-08-26 10:02:37 -04:00
Mario Lenz
0ac57941c1 VMware: Add missing HA admission control policies in vmware_cluster_ha (#60233)
* Add missing HA admission control policies
* Add new parameter host_isolation_response
* Bugfix: 'das_vm_config' referenced before assignment
* Implement test cases
2019-08-26 09:40:38 -04:00
Miguel Angel Muñoz González
d95a0f235b Fortinet's new module for fortios_user_local (#61054)
* Fortinet's new module for fortios_user_local

* New version of fortios_user_local

* Update unit tests with removal of attribute
2019-08-26 18:56:30 +05:30
Miguel Angel Muñoz González
69fcd771e0 FortiOS modules for 2.9 - 8 (#61308)
* FortiOS modules for 2.9 - 8

* Add missing files

* Fix trailing spaces
2019-08-26 18:55:53 +05:30
Nathaniel Case
f3f30c146b
Deprecate net_* modules (#60818)
* Deprecate net_ modules

* Move modules to finish deprecation

* Add missing `why`, move net_static_route

* Add changelogs and porting guide
2019-08-26 09:07:54 -04:00
Trishna Guha
5a04b4feb6
Add nxos_l2_interfaces resource module (#61120)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-26 16:46:05 +05:30
sushma-alethea
c729f3ba61 icx: new module icx_facts (#61225)
* new cliconf

* cliconf

* icx cliconf

* icx test units module

* icx units module

* icx banner unit test

* added notes

* new changes

* icx .rst

* modified platform_index.rst

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_facts

* fixtures added

* Rebase causing problem on branch-PR4. So created new PR

* new commit

* new changes
2019-08-26 14:00:00 +05:30
Michał Szczepańczyk
8ed3a0b360 fix bug - k8s was crashing when yaml ended with 3 dashes (#61182)
* fix bug - k8s was crashing when yaml ended with 3 dashes

* #61182 - add changelog
2019-08-26 17:28:01 +10:00
sushma-alethea
7e1a347695 icx: new module icx_linkagg (#59967)
* new module

* new module

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_linkagg

* bug fixes

* Fixing bot errors

* Trying to fix aggregate document error

* Added options under aggregate in documentation

* Fixed bot error

* Fixed documentation error

* Fix bot error

* notes updated
2019-08-26 09:12:59 +05:30
sushma-alethea
20ec927280 icx: new module icx_static_route (#59978)
* new module

* new module

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_static_route

* new changes

* new changes

* notes updated
2019-08-26 09:12:10 +05:30
PRASOON KARUNAN V
48eed0b6c8 adding group parameter for win_firewall_rule (#55109)
* adding group parameter for win_firewall_rule

* integration test fix

* changing the version add to 2.9

* setting group optional

* fix:setting required to optional
2019-08-25 19:10:31 -04:00
Jordan Borean
9786e2b559
Fix up env config source for Galaxy server list (#61294) 2019-08-26 07:11:35 +10:00
Chris Archibald
265fcaac40 Add Rest API to DNS (#59937)
* add rest to dns

* fix issues with tests

* fixes to netapp.py

* fixes

* fixes

* add updates

* fix issues
2019-08-25 10:52:01 -04:00
Josh Edmonds
25db0c7678 Added NetApp ONTAP Adaptive QoS Policy Module (#58707)
* Added NetApp ONTAP Adaptive QoS Policy Module

* updated documentation to fix validation errors

* Updates to documentation fields and modified logging function to log against the current vserver

* Fixed minor formatting issues

* Documentation update for consistency - author field

* Empty commit to force CI

* fixes
2019-08-25 10:50:34 -04:00
Miguel Angel Muñoz González
a6b124cccc FortiOS modules for 2.9 - 7 (#61217) 2019-08-25 12:54:45 +05:30
Paul Belanger
9d4dcc7506
Remove unused imports from netconf_get (#61265)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-24 19:47:56 -04:00
Paul Belanger
2ce091cc86
Remove duplicate imports in iosxr_lldp_interfaces (#61266)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-24 17:59:51 -04:00
Paul Belanger
c61dec032c
Remove unsed variable is l2_interfaces.py (#61246)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-24 12:57:17 -04:00
Felix Fontein
c3b1a0a7e8 Vultr: rename _facts -> _info (#61239) 2019-08-24 17:54:17 +02:00
Paul Belanger
11d82d70eb
Remove duplicate imports from iosxr_lacp_interfaces (#61258)
This cleans up linting for our new iosxr collection.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-24 10:12:29 -04:00
Mark Chappell
5434bf74c6 Fix issues with aws_kms when working cross-account and with IDs (#60805)
* aws_kms: (integration tests) Test updating a key by ID rather than just my alias

* aws_kms: (integration tests) Test deletion of non-existent and keys that are already marked for deletion

* aws_kms: Ensure we can perform actions on a specific key_id rather than just aliases

In the process switch over to using get_key_details rather than listing all keys.

* aws_kms: When updating keys use the ARN rather than just the ID.

This is important when working with cross-account trusts.
2019-08-23 16:56:45 -07:00
Søren Kröger
1cf43e5017 Handle multiple Content-Type headers correctly (#31238)
* Handle multiple Content-Type headers correctly

Avoids situations where mulitple Content-Type headers including charset information can result in errors like 
```
LookupError: unknown encoding: UTF-8, text/html
```

* Account for multiple conflicting values for content-type and charset

* Add changelog fragment
2019-08-23 16:48:16 -05:00
Victor Costan
943b4f5a83 os_server: keep optional nic args for nics specified using net-name or port-name. (#20969) 2019-08-23 17:00:31 -04:00
Ryan Conway
e4c1c05363 Renaming onepassword_facts to onepassword_info. (#61237)
* Renaming `onepassword_facts` to `onepassword_info`.

* Update module examples.

* Add changelog fragment.

* Add module rename to the 2.9 porting guide.

* Document the parameter types in the module docs.

* Fix incorrect parameter name.

* Update docs/docsite/rst/porting_guides/porting_guide_2.9.rst

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Remove `onepassword_facts` as it has been renamed to `onepassword_info` including fixes for the sanity tests.
2019-08-23 20:45:13 +02:00
The Magician
d3b493020d New Module: gcp_kms_crypto_key (#61096) 2019-08-23 13:27:46 -04:00
The Magician
bf514b5717 New Module: gcp_kms_crypto_key_info (#61097) 2019-08-23 13:27:37 -04:00
The Magician
ba026939bb New Module: gcp_kms_key_ring (#61098) 2019-08-23 13:27:28 -04:00
Nathaniel Case
64312a09c9
Add use_proxy option to httpapi (#59259) 2019-08-23 13:07:52 -04:00
Sumit Jaiswal
c9f0b0fb42
Resource module for ios_l3_interfaces (#60405)
* ios_l3_interfaces

* fix shippable

* fix tests

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix ignore txt file

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix doc

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix shippable n tests

* fix replace test

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix zuul failures

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix shippable n zuul

* fix zuul

* fix zuul

* fix zuul test

* fix zuul

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* code zuul fix

* fix merge

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix merge

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-08-23 22:09:20 +05:30
Wojciech Wypior
a275bf1625 added better description on how aggregate functions (#61069) 2019-08-23 08:05:19 -07:00
Rohit
11ba2a965d
platform guide updates (#61121)
* platform guide updates

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* sanity fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
2019-08-23 20:23:50 +05:30
Felix Fontein
fa70690e5c
openssl_certificate/csr(_info): add support for SubjectKeyIdentifier and AuthorityKeyIdentifier (#60741)
* Add support for SubjectKeyIdentifier and AuthorityKeyIdentifier to _info modules.

* Adding SubjectKeyIdentifier and AuthorityKeyIdentifier support to openssl_certificate and openssl_csr.

* Fix type of authority_cert_issuer.

* Add basic tests.

* Add changelog.

* Added proper tests for _info modules.

* Fix docs bug.

* Make sure new features are only used when cryptography backend for openssl_csr is available.

* Work around jinja2 being too old on some CI hosts.

* Add tests for openssl_csr.

* Add openssl_certificate tests.

* Fix idempotence test.

* Move one level up.

* Add ownca_create_authority_key_identifier option.

* Add ownca_create_authority_key_identifier option.

* Add idempotency check.

* Apparently the function call expected different args for cryptography < 2.7.

* Fix copy'n'paste errors and typos.

* string -> general name.

* Add disclaimer.

* Implement always_create / create_if_not_provided / never_create for openssl_certificate.

* Update changelog and porting guide.

* Add comments for defaults.
2019-08-23 14:01:42 +02:00
Mark Chappell
77e4371460 aws_kms: Update policy on existing keys (when passed) (#60059)
* aws_kms: (integration tests) Use module_defaults to reduce the copy and paste

* aws_kms: (integration tests) make sure policy option functions.

* aws_kms: (integration tests) Move iam_role creation to start of playbook.

iam_roles aren't fully created when iam_role completes, there's a delay on the Amazon side before they're fully recognised.

* aws_kms: Update policy on existing keys (when passed)
2019-08-23 20:38:38 +10:00
sushma-alethea
25053827a5 icx: new module icx_config (#59914)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* new module

* new cliconf

* cliconf

* icx cliconf

* icx test units module

* icx units module

* icx banner unit test

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_config

* new changes

* new changes in icx_config

* PR changes

* PR comments resolved

* PR comments resolved

* new changes

* new changes

* Review comments

* updated notes section
2019-08-23 16:02:51 +05:30
Trishna Guha
f0ef624cff
Add nxos_l3_interfaces resource module (#61021)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-23 15:06:26 +05:30
Miguel Angel Muñoz González
9d77d06fa4 Fortinet's new module for fortios_user_password_policy (#61055)
* Fortinet's new module for fortios_user_password_policy

* Retriggering due to Shippable failure
2019-08-23 14:55:47 +05:30
Miguel Angel Muñoz González
a6837609e2 FortiOS modules for 2.9 - 6 (#61170)
* FortiOS modules for 2.9 - 5

* Update fortios_firewall_vip.py

* Update fortios_firewall_vip6.py
2019-08-23 14:54:43 +05:30
Sumit Jaiswal
2ce3ce8477
Fix zuul error for IOSXR interfaces PRs (#61174)
* fix zuul error

* fix utils
2019-08-23 13:27:07 +05:30
frankshen01
30c9abf6e4 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_ip_address_type (#61088)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_ip_address_type

* Update fortios_wireless_controller_hotspot20_anqp_ip_address_type.py

* Update fortios_wireless_controller_hotspot20_anqp_ip_address_type.py
2019-08-23 12:23:15 +05:30
frankshen01
ec348bb2ac Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_nai_realm (#61089)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_nai_realm

* Update fortios_wireless_controller_hotspot20_anqp_nai_realm.py

* Update fortios_wireless_controller_hotspot20_anqp_nai_realm.py
2019-08-23 12:21:42 +05:30
frankshen01
eb2e0dcc51 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_network_auth_type (#61109)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_network_auth_type

* Update fortios_wireless_controller_hotspot20_anqp_network_auth_type.py

* Update fortios_wireless_controller_hotspot20_anqp_network_auth_type.py
2019-08-23 12:04:39 +05:30
frankshen01
bb06aed6d8 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_roaming_consortium (#61110)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_roaming_consortium

* Update fortios_wireless_controller_hotspot20_anqp_roaming_consortium.py
2019-08-23 11:59:20 +05:30
frankshen01
20327589f7 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_venue_name (#61112) 2019-08-23 11:57:33 +05:30
Andrey Klychkov
e3cf76533c postgresql_user: add groups parameter (#60638)
* postgresql_user: add groups parameter

* postgresql_user: add groups parameter, fail_on_role default True

* postgresql_user: add groups parameter, add changelog fragment
2019-08-23 08:17:23 +02:00
frankshen01
4449f3a815 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_conn_capability (#61114)
* Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_conn_capability

* Update fortios_wireless_controller_hotspot20_h2qp_conn_capability.py
2019-08-23 11:32:52 +05:30
Miguel Angel Muñoz González
a549969b85 Fortinet's new module for fortios_vpn_certificate_crl (#61124) 2019-08-23 11:28:56 +05:30
frankshen01
81bff01893 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_operator_name (#61125) 2019-08-23 11:27:47 +05:30
Miguel Angel Muñoz González
1d43c15c64 Fortinet's new module for fortios_vpn_certificate_local (#61126) 2019-08-23 11:26:08 +05:30
Miguel Angel Muñoz González
f5cc653865 Fortinet's new module for fortios_vpn_certificate_ocsp_server (#61128) 2019-08-23 11:24:56 +05:30
Miguel Angel Muñoz González
ae53e38ceb Fortinet's new module for fortios_vpn_certificate_remote (#61129) 2019-08-23 11:24:01 +05:30
Miguel Angel Muñoz González
8f61e4e39e Fortinet's new module for fortios_vpn_ssl_web_user_bookmark (#61137) 2019-08-23 11:23:02 +05:30
Miguel Angel Muñoz González
e637934e2c Fortinet's new module for fortios_waf_main_class (#61139) 2019-08-23 11:21:35 +05:30
Miguel Angel Muñoz González
d41bf3409d Fortinet's new module for fortios_waf_signature (#61140) 2019-08-23 11:20:22 +05:30
Miguel Angel Muñoz González
af5324b764 Fortinet's new module for fortios_waf_sub_class (#61141) 2019-08-23 11:18:42 +05:30
Miguel Angel Muñoz González
7a8f37f9e8 Fortinet's new module for fortios_wanopt_auth_group (#61142) 2019-08-23 11:17:15 +05:30
Miguel Angel Muñoz González
4b8d32d889 Fortinet's new module for fortios_wanopt_cache_service (#61143) 2019-08-23 11:15:46 +05:30
Miguel Angel Muñoz González
9a53058dda Fortinet's new module for fortios_wanopt_content_delivery_network_rule (#61144) 2019-08-23 11:09:44 +05:30
Miguel Angel Muñoz González
2aa52a42a9 Fortinet's new module for fortios_wanopt_peer (#61146) 2019-08-23 11:06:48 +05:30
Miguel Angel Muñoz González
f3daab328b Fortinet's new module for fortios_wanopt_remote_storage (#61147) 2019-08-23 11:05:48 +05:30
Miguel Angel Muñoz González
8e89306328 Fortinet's new module for fortios_wanopt_webcache (#61148)
* Fortinet's new module for fortios_wanopt_webcache

* Fix minor typo
2019-08-23 11:04:43 +05:30
Miguel Angel Muñoz González
456ca6c817 Fortinet's new module for fortios_web_proxy_debug_url (#61149) 2019-08-23 11:03:11 +05:30
Miguel Angel Muñoz González
b40bab6a11 Fortinet's new module for fortios_web_proxy_forward_server (#61150) 2019-08-23 11:02:16 +05:30
Miguel Angel Muñoz González
c5bc51e365 Fortinet's new module for fortios_web_proxy_forward_server_group (#61152) 2019-08-23 11:00:29 +05:30
Miguel Angel Muñoz González
5b9f40ec1a Fortinet's new module for fortios_web_proxy_url_match (#61153) 2019-08-23 10:43:18 +05:30
Miguel Angel Muñoz González
fa05a7960f Fortinet's new module for fortios_web_proxy_wisp (#61154) 2019-08-23 10:36:23 +05:30
Miguel Angel Muñoz González
be48bb81ce Fortinet's new module for fortios_wireless_controller_ap_status (#61155) 2019-08-23 10:34:01 +05:30
Miguel Angel Muñoz González
81617cf084 Fortinet's new module for fortios_wireless_controller_ble_profile (#61156) 2019-08-23 10:32:55 +05:30
frankshen01
1d5612bd09 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_osu_provider (#61158) 2019-08-23 10:31:19 +05:30
Miguel Angel Muñoz González
f0c21c61b3 Fortinet's new module for fortios_wireless_controller_timers (#61159) 2019-08-23 10:29:26 +05:30
Miguel Angel Muñoz González
d4c9d13991 Fortinet's new module for fortios_wireless_controller_vap_group (#61160) 2019-08-23 10:26:31 +05:30
frankshen01
24ffd77fd8 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_wan_metric (#61161) 2019-08-23 10:24:38 +05:30
Miguel Angel Muñoz González
999f5ef286 Fortinet's new module for fortios_wireless_controller_wtp_group (#61162) 2019-08-23 10:22:50 +05:30
frankshen01
c9bf39aa09 Fortinet's new module for fortios_wireless_controller_hotspot20_icon (#61164) 2019-08-23 10:20:51 +05:30
frankshen01
18a0fc701a Fortinet's new module for fortios_wireless_controller_hotspot20_qos_map (#61165) 2019-08-23 10:19:14 +05:30
Miguel Angel Muñoz González
a1a8ccfd00 Fortinet's new module for fortios_alertemail_setting (#61166) 2019-08-23 10:17:36 +05:30
frankshen01
4a90563c64 Fortinet's new module for fortios_wireless_controller_qos_profile (#61167) 2019-08-23 10:15:19 +05:30
frankshen01
cabad4e0a1 Fortinet's new module for fortios_wireless_controller_inter_controller (#61169) 2019-08-23 10:12:51 +05:30
Miguel Angel Muñoz González
bc9be2b63a Fortinet's new module for fortios_user_setting (#61122)
* Fortinet's new module for fortios_user_setting

* Update fortios_user_setting.py
2019-08-23 10:09:07 +05:30
Felix Fontein
72365b01e0 acme_certificate: only return challenges that need to be satisfied (#61191)
* Only return challenges that need to be satisfied.

* Adjust PR #.
2019-08-22 23:10:53 -04:00